resource/aws_globalaccelerator_*: Timeouts for Global Accelerator resources#17112
Merged
Conversation
ewbankkit
approved these changes
Jan 14, 2021
ewbankkit
left a comment
Contributor
There was a problem hiding this comment.
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
Member
|
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 minutesfor all operations in response to feedback on #17048.Please note that a delete timeout has not been added to
aws_globalaccelerator_acceleratoras the deletion process involves disabling it first (covered by update timeout), after which deletion is rapid.