-
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
resource/aws_globalaccelerator_*: Timeouts for Global Accelerator resources #17112
Conversation
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.
$ make testacc TEST=./aws TESTARGS='-run=TestAccAwsGlobalAccelerator'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsGlobalAccelerator -timeout 120m
=== RUN TestAccAwsGlobalAcceleratorAccelerator_basic
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_basic
=== RUN TestAccAwsGlobalAcceleratorAccelerator_update
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_update
=== RUN TestAccAwsGlobalAcceleratorAccelerator_attributes
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_attributes
=== RUN TestAccAwsGlobalAcceleratorAccelerator_tags
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_tags
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_disappears
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_disappears
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_Update
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_Update
=== RUN TestAccAwsGlobalAcceleratorListener_basic
=== PAUSE TestAccAwsGlobalAcceleratorListener_basic
=== RUN TestAccAwsGlobalAcceleratorListener_update
=== PAUSE TestAccAwsGlobalAcceleratorListener_update
=== CONT TestAccAwsGlobalAcceleratorAccelerator_basic
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion
=== CONT TestAccAwsGlobalAcceleratorListener_update
=== CONT TestAccAwsGlobalAcceleratorListener_basic
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_Update
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_disappears
=== CONT TestAccAwsGlobalAcceleratorAccelerator_attributes
=== CONT TestAccAwsGlobalAcceleratorAccelerator_tags
=== CONT TestAccAwsGlobalAcceleratorAccelerator_update
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_basic (124.30s)
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_attributes (145.91s)
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_tags (150.58s)
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_update (164.49s)
--- PASS: TestAccAwsGlobalAcceleratorListener_basic (168.94s)
--- PASS: TestAccAwsGlobalAcceleratorListener_update (197.95s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol (215.99s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_disappears (220.34s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_basic (224.84s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion (229.86s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides (254.53s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_Update (264.91s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint (628.45s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP (799.11s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 799.290s
LGTM 🚀 Thanks @brent-au for the contribution! Verified Acceptance Tests in Commercial (us-west-2) make testacc TEST=./aws TESTARGS='-run=TestAccAwsGlobalAccelerator'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsGlobalAccelerator -timeout 120m
=== RUN TestAccAwsGlobalAcceleratorAccelerator_basic
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_basic
=== RUN TestAccAwsGlobalAcceleratorAccelerator_update
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_update
=== RUN TestAccAwsGlobalAcceleratorAccelerator_attributes
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_attributes
=== RUN TestAccAwsGlobalAcceleratorAccelerator_tags
=== PAUSE TestAccAwsGlobalAcceleratorAccelerator_tags
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_disappears
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_disappears
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_Update
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_Update
=== RUN TestAccAwsGlobalAcceleratorListener_basic
=== PAUSE TestAccAwsGlobalAcceleratorListener_basic
=== RUN TestAccAwsGlobalAcceleratorListener_update
=== PAUSE TestAccAwsGlobalAcceleratorListener_update
=== CONT TestAccAwsGlobalAcceleratorAccelerator_basic
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion
=== CONT TestAccAwsGlobalAcceleratorListener_update
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_disappears
=== CONT TestAccAwsGlobalAcceleratorListener_basic
=== CONT TestAccAwsGlobalAcceleratorAccelerator_attributes
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides
=== CONT TestAccAwsGlobalAcceleratorAccelerator_tags
=== CONT TestAccAwsGlobalAcceleratorAccelerator_update
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_Update
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_basic
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_basic (67.32s)
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_attributes (88.17s)
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_tags (89.25s)
--- PASS: TestAccAwsGlobalAcceleratorAccelerator_update (102.05s)
--- PASS: TestAccAwsGlobalAcceleratorListener_basic (117.95s)
--- PASS: TestAccAwsGlobalAcceleratorListener_update (156.19s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_TCPHealthCheckProtocol (159.82s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_basic (161.04s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_MultiRegion (161.87s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_disappears (166.72s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_PortOverrides (193.86s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_Update (207.41s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_InstanceEndpoint (563.90s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_ALBEndpoint_ClientIP (864.93s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 866.606s |
This has been released in version 3.24.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 #17048
Release note for CHANGELOG:
Output from acceptance testing:
This PR adds user customisable timeouts to the AWS Global Accelerator resources. Currently the timeout is set to
30 minutes
for all operations in response to feedback on #17048.Please note that a delete timeout has not been added to
aws_globalaccelerator_accelerator
as the deletion process involves disabling it first (covered by update timeout), after which deletion is rapid.