-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/appconfig_deployment: remove waiter since deployment time is configurable #20288
Conversation
… as great as 24h)
1626453
to
f34e114
Compare
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.
LGTM
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppConfigDeployment_ -timeout 180m
go: downloading github.com/aws/aws-sdk-go v1.40.20
=== RUN TestAccAWSAppConfigDeployment_basic
=== PAUSE TestAccAWSAppConfigDeployment_basic
=== RUN TestAccAWSAppConfigDeployment_PredefinedStrategy
=== PAUSE TestAccAWSAppConfigDeployment_PredefinedStrategy
=== RUN TestAccAWSAppConfigDeployment_Tags
=== PAUSE TestAccAWSAppConfigDeployment_Tags
=== CONT TestAccAWSAppConfigDeployment_basic
=== CONT TestAccAWSAppConfigDeployment_Tags
=== CONT TestAccAWSAppConfigDeployment_PredefinedStrategy
--- PASS: TestAccAWSAppConfigDeployment_PredefinedStrategy (145.29s)
--- PASS: TestAccAWSAppConfigDeployment_basic (216.61s)
--- PASS: TestAccAWSAppConfigDeployment_Tags (241.42s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 241.482s
This functionality has been released in v3.55.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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #20279
Note
deployment_duration_in_minutes
is over 20 #20279 🙌 ). Instead, this PR will record the deployment's state so practitioners can use that value to track progress and have their configurations complete without error.ConflictException
handling is preserved inaws/config.go
since it helps automate the resource creation retry but if it's preferred to remove it all together, can do 👍GetDeploymentStrategy
to first retrieve the expected duration, and then pass that to the waiter..but perhaps even doing so would not guarantee the entire timeout duration 🤔Output from acceptance testing: