[Enhancement]: Expose container definitions as lists on ECS Task Definitions #35856
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ecs
Issues and PRs that pertain to the ecs service.
Description
Currently, the AWS ECS Task Definition resource source does not expose container definitions as lists. On top if, the AWS ECS Task Definition Data resource does not expose the container definition either.
This makes it hard to work with the task definitions in Terraform. It is impossible to exclude changes which may occur in one of the container definitions. The current support of an opaque JSON document does not suit us with the further integration.
The task definition data source does not expose the container definitions either. This makes it non-trivial to keep it up-to-date with changes that are done in separate CI/CD pipelines via
aws
CLI.Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ecs_task_definition
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: