hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.2k forks source link

resource/aws_ecs_service: Add `versionConsistency` support to `container_definitions` #40216

Closed gdavison closed 5 days ago

gdavison commented 5 days ago

Description

Add support for versionConsistency to the container_definitions attribute of aws_ecs_task_definition

Relations

Closes #40202

Output from Acceptance Testing

% make testacc PKG=ecs TESTS=TestAccECSTaskDefinition_

--- PASS: TestAccECSTaskDefinition_invalidContainerDefinition (7.26s)
--- PASS: TestAccECSTaskDefinition_DockerVolume_taskScoped (38.73s)
--- PASS: TestAccECSTaskDefinition_containerDefinitionNullPortMapping (41.18s)
--- PASS: TestAccECSTaskDefinition_containerDefinitionDockerLabels (42.90s)
--- PASS: TestAccECSTaskDefinition_unknownContainerDefinitions (40.83s)
--- PASS: TestAccECSTaskDefinition_runtimePlatform (50.41s)
--- PASS: TestAccECSTaskDefinition_DockerVolume_minimal (51.07s)
--- PASS: TestAccECSTaskDefinition_DockerVolume_basic (51.11s)
--- PASS: TestAccECSTaskDefinition_configuredAtLaunch (53.03s)
--- PASS: TestAccECSTaskDefinition_taskRoleARN (56.03s)
--- PASS: TestAccECSTaskDefinition_networkMode (56.28s)
--- PASS: TestAccECSTaskDefinition_ipcMode (60.90s)
--- PASS: TestAccECSTaskDefinition_pidMode (61.08s)
--- PASS: TestAccECSTaskDefinition_EFSVolume_transitEncryptionMinimal (66.48s)
--- PASS: TestAccECSTaskDefinition_containerDefinitionVersionConsistency_nullToEnabled (77.04s)
--- PASS: TestAccECSTaskDefinition_containerDefinitionVersionConsistency_enabledToNull (77.15s)
--- PASS: TestAccECSTaskDefinition_basic (88.60s)
--- PASS: TestAccECSTaskDefinition_scratchVolume (52.40s)
--- PASS: TestAccECSTaskDefinition_EFSVolume_minimal (60.19s)
--- PASS: TestAccECSTaskDefinition_EFSVolume_basic (61.75s)
--- PASS: TestAccECSTaskDefinition_containerDefinitionVersionConsistency (109.98s)
--- PASS: TestAccECSTaskDefinition_Fargate_ephemeralStorage (54.74s)
--- PASS: TestAccECSTaskDefinition_inferenceAccelerator (55.01s)
--- PASS: TestAccECSTaskDefinition_EFSVolume_transitEncryptionDisabled (62.13s)
--- PASS: TestAccECSTaskDefinition_EFSVolume_transitEncryption (62.45s)
--- PASS: TestAccECSTaskDefinition_EFSVolume_accessPoint (66.79s)
--- PASS: TestAccECSTaskDefinition_proxy (57.70s)
--- PASS: TestAccECSTaskDefinition_disappears (77.48s)
--- PASS: TestAccECSTaskDefinition_executionRole (52.27s)
--- PASS: TestAccECSTaskDefinition_Fargate_runtimePlatformWithoutArch (42.73s)
--- PASS: TestAccECSTaskDefinition_trackLatest (43.69s)
--- PASS: TestAccECSTaskDefinition_Fargate_runtimePlatform (37.63s)
--- PASS: TestAccECSTaskDefinition_arrays (35.39s)
--- PASS: TestAccECSTaskDefinition_v5590ContainerDefinitionsRegression (129.13s)
--- PASS: TestAccECSTaskDefinition_constraint (24.04s)
--- PASS: TestAccECSTaskDefinition_Fargate_basic (32.44s)
--- PASS: TestAccECSTaskDefinition_tags (77.82s)
--- PASS: TestAccECSTaskDefinition_changeVolumesForcesNewResource (31.51s)
--- PASS: TestAccECSTaskDefinition_containerDefinitionEmptyPortMappings (150.52s)
--- PASS: TestAccECSTaskDefinition_service (167.45s)
--- PASS: TestAccECSTaskDefinition_fsxWinFileSystem (3431.53s)
github-actions[bot] commented 5 days ago

Community Note

Voting for Prioritization

For Submitters

github-actions[bot] commented 4 days ago

This functionality has been released in v5.77.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!