-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECS Service enums + eventual consistency for service-role #11423
Conversation
add enum validations eventual consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @DrFaust92 👋 Thanks for submitting this. The updates to the acceptance test are currently failing, but otherwise these changes look okay.
In general, we would prefer if the unrelated changes (the bug fix, technical debt updates to the testing, and validation enhancements) were submitted separately just so we can merge bug fixes first if possible. This also helps us better note operator-facing changes in the CHANGELOG since this would require entries in multiple sections:
ENHANCEMENTS:
* resource/aws_ecs_service: Add plan time validation for `launch_type`, `load_balancer` configuration block `target_group_arn` and `container_port`, and `placement_constraints` configuration block `type` arguments [GH-11423]
BUG FIXES:
* resource/aws_ecs_service: Automatically retry IAM Service Linked Role error on creation due to asynchronous creation of role on first usage and IAM eventual consistency [GH-11423]
Thanks. 😄
comments Co-Authored-By: Brian Flad <[email protected]>
@bflad, Sorry about that. will split these up next time. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for these updates, @DrFaust92 🚀
Output from acceptance testing:
--- PASS: TestAccAWSEcsService_basicImport (71.79s)
--- PASS: TestAccAWSEcsService_disappears (57.94s)
--- PASS: TestAccAWSEcsService_healthCheckGracePeriodSeconds (276.32s)
--- PASS: TestAccAWSEcsService_ManagedTags (52.67s)
--- PASS: TestAccAWSEcsService_PropagateTags (183.42s)
--- PASS: TestAccAWSEcsService_Tags (64.17s)
--- PASS: TestAccAWSEcsService_withAlb (259.80s)
--- PASS: TestAccAWSEcsService_withARN (79.09s)
--- PASS: TestAccAWSEcsService_withCapacityProviderStrategy (176.03s)
--- PASS: TestAccAWSEcsService_withDaemonSchedulingStrategy (53.32s)
--- PASS: TestAccAWSEcsService_withDaemonSchedulingStrategySetDeploymentMinimum (43.60s)
--- PASS: TestAccAWSEcsService_withDeploymentController_Type_CodeDeploy (280.11s)
--- PASS: TestAccAWSEcsService_withDeploymentMinimumZeroMaximumOneHundred (72.30s)
--- PASS: TestAccAWSEcsService_withDeploymentValues (72.28s)
--- PASS: TestAccAWSEcsService_withEcsClusterName (81.11s)
--- PASS: TestAccAWSEcsService_withFamilyAndRevision (76.29s)
--- PASS: TestAccAWSEcsService_withIamRole (156.20s)
--- PASS: TestAccAWSEcsService_withLaunchTypeEC2AndNetworkConfiguration (74.68s)
--- PASS: TestAccAWSEcsService_withLaunchTypeFargate (111.62s)
--- PASS: TestAccAWSEcsService_withLaunchTypeFargateAndPlatformVersion (172.06s)
--- PASS: TestAccAWSEcsService_withLbChanges (166.77s)
--- PASS: TestAccAWSEcsService_withMultipleCapacityProviderStrategies (124.27s)
--- PASS: TestAccAWSEcsService_withMultipleTargetGroups (310.64s)
--- PASS: TestAccAWSEcsService_withPlacementConstraints (73.55s)
--- PASS: TestAccAWSEcsService_withPlacementConstraints_emptyExpression (72.31s)
--- PASS: TestAccAWSEcsService_withPlacementStrategy (203.05s)
--- PASS: TestAccAWSEcsService_withRenamedCluster (102.43s)
--- PASS: TestAccAWSEcsService_withReplicaSchedulingStrategy (73.27s)
--- PASS: TestAccAWSEcsService_withServiceRegistries (152.38s)
--- PASS: TestAccAWSEcsService_withServiceRegistries_container (142.99s)
--- PASS: TestAccAWSEcsService_withUnnormalizedPlacementStrategy (71.10s)
--- PASS: TestAccAWSEcsServiceDataSource_basic (73.13s)
This has been released in version 2.44.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 for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #11417
Release note for CHANGELOG:
Output from acceptance testing: