-
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
data-source/aws_ebs_snapshot: Fix most_recent ordering and add covering acceptance test #6414
Conversation
…meRateExceeded` errors on creation Found via acceptance testing: ``` --- FAIL: TestAccAWSEbsSnapshotDataSource_MostRecent (27.42s) testing.go:538: Step 0 error: Error applying: 1 error occurred: * aws_ebs_snapshot.test: 1 error occurred: * aws_ebs_snapshot.test: SnapshotCreationPerVolumeRateExceeded: The maximum per volume CreateSnapshot request rate has been exceeded. Use an increasing or variable sleep interval between requests. ``` ``` --- PASS: TestAccAWSEBSSnapshot_withDescription (26.62s) --- PASS: TestAccAWSEbsSnapshotDataSource_basic (28.90s) --- PASS: TestAccAWSEbsSnapshotDataSource_Filter (43.31s) --- PASS: TestAccAWSEBSSnapshot_withKms (67.28s) --- PASS: TestAccAWSEbsSnapshotDataSource_MostRecent (68.51s) --- PASS: TestAccAWSEBSSnapshot_basic (85.15s) ```
…ng acceptance test Also refactors the testing to be region agnostic. ``` --- PASS: TestAccAWSEbsSnapshotDataSource_basic (28.90s) --- PASS: TestAccAWSEbsSnapshotDataSource_Filter (43.31s) --- PASS: TestAccAWSEbsSnapshotDataSource_MostRecent (68.51s) ```
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
This has been released in version 1.44.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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! |
Unfortunately the
most_recent
functionality of theaws_ebs_snapshot
data source was missing an acceptance test with multiple EBS snapshots so this was broken in version 1.43.0 and 1.43.1Reference: #6321 (comment)
Changes proposed in this pull request:
SnapshotCreationPerVolumeRateExceeded
errors on creation (discovered during development ofTestAccAWSEbsSnapshotDataSource_MostRecent
)Output from acceptance testing: