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

r/aws_ecs_service: add `availability_zone_rebalancing` attribute #40225

Closed johnsonaj closed 1 day ago

johnsonaj commented 1 day ago

Description

Add support for availability_zone_rebalancing to aws_ecs_service

Relations

Closes #40221

References

Output from Acceptance Testing

% make testacc TESTARGS='-run=TestAccECSService_' PKG=ecs

make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/ecs/... -v -count 1 -parallel 20  -run=TestAccECSService_ -timeout 360m
2024/11/20 16:09:22 Initializing Terraform AWS Provider...
--- PASS: TestAccECSService_DeploymentControllerType_external (55.67s)
--- PASS: TestAccECSService_DeploymentValues_minZeroMaxOneHundred (73.99s)
--- PASS: TestAccECSService_clusterName (74.11s)
--- PASS: TestAccECSService_basic (83.60s)
--- PASS: TestAccECSService_deploymentCircuitBreaker (83.79s)
--- PASS: TestAccECSService_DeploymentValues_basic (83.91s)
--- PASS: TestAccECSService_executeCommand (85.20s)
--- PASS: TestAccECSService_alarmsUpdate (95.07s)
--- PASS: TestAccECSService_alarmsAdd (95.07s)
--- PASS: TestAccECSService_AvailabilityZoneRebalancing (100.36s)
--- PASS: TestAccECSService_forceNewDeployment (117.07s)
--- PASS: TestAccECSService_forceNewDeploymentTriggers (124.79s)
--- PASS: TestAccECSService_iamRole (31.27s)
--- PASS: TestAccECSService_Tags_propagate (78.15s)
--- PASS: TestAccECSService_Tags_managed (59.85s)
--- PASS: TestAccECSService_VolumeConfiguration_basic (61.08s)
--- PASS: TestAccECSService_PlacementConstraints_emptyExpression (70.53s)
--- PASS: TestAccECSService_ServiceRegistries_container (158.90s)
--- PASS: TestAccECSService_Tags_basic (91.38s)
--- PASS: TestAccECSService_familyAndRevision (68.11s)
--- PASS: TestAccECSService_PlacementStrategy_missing (1.03s)
--- PASS: TestAccECSService_LaunchTypeFargate_waitForSteadyState (170.48s)
--- PASS: TestAccECSService_VolumeConfiguration_tagSpecifications (61.63s)
--- PASS: TestAccECSService_ServiceConnect_remove (195.85s)
--- PASS: TestAccECSService_VolumeConfiguration_throughputTypeChange (81.79s)
--- PASS: TestAccECSService_LaunchTypeFargate_platformVersion (120.60s)
--- PASS: TestAccECSService_LaunchTypeFargate_basic (130.56s)
--- PASS: TestAccECSService_DaemonSchedulingStrategy_setDeploymentMinimum (38.95s)
--- PASS: TestAccECSService_VolumeConfiguration_update (122.19s)
--- PASS: TestAccECSService_PlacementConstraints_basic (79.62s)
--- PASS: TestAccECSService_PlacementStrategy_unnormalized (69.70s)
--- PASS: TestAccECSService_CapacityProviderStrategy_basic (119.80s)
--- PASS: TestAccECSService_loadBalancerChanges (281.51s)
--- PASS: TestAccECSService_alb (298.42s)
--- PASS: TestAccECSService_ServiceConnect_ingressPortOverride (165.89s)
--- PASS: TestAccECSService_ServiceConnect_full (166.11s)
--- PASS: TestAccECSService_multipleTargetGroups (301.42s)
--- PASS: TestAccECSService_CapacityProviderStrategy_forceNewDeployment (145.49s)
--- PASS: TestAccECSService_DaemonSchedulingStrategy_basic (37.97s)
--- PASS: TestAccECSService_ServiceConnect_tls_with_empty_timeout (166.21s)
--- PASS: TestAccECSService_DeploymentControllerType_codeDeploy (312.70s)
--- PASS: TestAccECSService_replicaSchedulingStrategy (69.63s)
--- PASS: TestAccECSService_ServiceConnect_basic (148.13s)
--- PASS: TestAccECSService_ServiceRegistries_removal (152.43s)
--- PASS: TestAccECSService_ServiceRegistries_basic (141.28s)
--- PASS: TestAccECSService_disappears (189.51s)
--- PASS: TestAccECSService_LaunchTypeEC2_network (116.54s)
--- PASS: TestAccECSService_PlacementStrategy_basic (96.22s)
--- PASS: TestAccECSService_CapacityProviderStrategy_update (224.74s)
--- PASS: TestAccECSService_healthCheckGracePeriodSeconds (320.30s)
--- PASS: TestAccECSService_basicImport (194.65s)
--- PASS: TestAccECSService_DeploymentControllerType_codeDeployUpdateDesiredCountAndHealthCheckGracePeriod (463.67s)
--- PASS: TestAccECSService_LaunchTypeFargate_updateWaitForSteadyState (182.69s)
--- PASS: TestAccECSService_ServiceRegistries_changes (282.91s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/ecs    538.584s
% make testacc TESTARGS='-run=TestAccECSServiceDataSource_basic' PKG=ecs

make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/ecs/... -v -count 1 -parallel 20  -run=TestAccECSServiceDataSource_basic -timeout 360m
2024/11/20 17:07:30 Initializing Terraform AWS Provider...
--- PASS: TestAccECSServiceDataSource_basic (61.65s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/ecs    68.386s
github-actions[bot] commented 1 day ago

Community Note

Voting for Prioritization

For Submitters

johnsonaj commented 1 day ago

@dani-chmb thank you for the contribution! 🎉

github-actions[bot] commented 22 hours 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!