-
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
backup/selection_type: add conditions and not_resources fields #22074
backup/selection_type: add conditions and not_resources fields #22074
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.
Welcome @leonenkoa 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
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 🚀.
Commercial
% make testacc TESTARGS='-run=TestAccBackupSelection_\|TestAccBackupSelectionDataSource_' PKG_NAME=internal/service/backup
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/backup/... -v -count 1 -parallel 20 -run=TestAccBackupSelection_\|TestAccBackupSelectionDataSource_ -timeout 180m
=== RUN TestAccBackupSelectionDataSource_basic
=== PAUSE TestAccBackupSelectionDataSource_basic
=== RUN TestAccBackupSelection_basic
=== PAUSE TestAccBackupSelection_basic
=== RUN TestAccBackupSelection_disappears
=== PAUSE TestAccBackupSelection_disappears
=== RUN TestAccBackupSelection_Disappears_backupPlan
=== PAUSE TestAccBackupSelection_Disappears_backupPlan
=== RUN TestAccBackupSelection_withTags
=== PAUSE TestAccBackupSelection_withTags
=== RUN TestAccBackupSelection_ConditionsWithTags
=== PAUSE TestAccBackupSelection_ConditionsWithTags
=== RUN TestAccBackupSelection_withResources
=== PAUSE TestAccBackupSelection_withResources
=== RUN TestAccBackupSelection_withNotResources
=== PAUSE TestAccBackupSelection_withNotResources
=== RUN TestAccBackupSelection_updateTag
=== PAUSE TestAccBackupSelection_updateTag
=== CONT TestAccBackupSelectionDataSource_basic
=== CONT TestAccBackupSelection_withResources
=== CONT TestAccBackupSelection_Disappears_backupPlan
=== CONT TestAccBackupSelection_withNotResources
=== CONT TestAccBackupSelection_disappears
=== CONT TestAccBackupSelection_updateTag
=== CONT TestAccBackupSelection_ConditionsWithTags
=== CONT TestAccBackupSelection_withTags
=== CONT TestAccBackupSelection_basic
--- PASS: TestAccBackupSelection_Disappears_backupPlan (24.87s)
--- PASS: TestAccBackupSelection_disappears (26.00s)
--- PASS: TestAccBackupSelectionDataSource_basic (26.64s)
--- PASS: TestAccBackupSelection_withNotResources (27.26s)
--- PASS: TestAccBackupSelection_basic (28.92s)
--- PASS: TestAccBackupSelection_ConditionsWithTags (28.92s)
--- PASS: TestAccBackupSelection_withTags (29.72s)
--- PASS: TestAccBackupSelection_withResources (37.18s)
--- PASS: TestAccBackupSelection_updateTag (42.98s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/backup 47.737s
GovCloud
% make testacc TESTARGS='-run=TestAccBackupSelection_\|TestAccBackupSelectionDataSource_' PKG_NAME=internal/service/backup
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/backup/... -v -count 1 -parallel 20 -run=TestAccBackupSelection_\|TestAccBackupSelectionDataSource_ -timeout 180m
=== RUN TestAccBackupSelectionDataSource_basic
=== PAUSE TestAccBackupSelectionDataSource_basic
=== RUN TestAccBackupSelection_basic
=== PAUSE TestAccBackupSelection_basic
=== RUN TestAccBackupSelection_disappears
=== PAUSE TestAccBackupSelection_disappears
=== RUN TestAccBackupSelection_Disappears_backupPlan
=== PAUSE TestAccBackupSelection_Disappears_backupPlan
=== RUN TestAccBackupSelection_withTags
=== PAUSE TestAccBackupSelection_withTags
=== RUN TestAccBackupSelection_ConditionsWithTags
=== PAUSE TestAccBackupSelection_ConditionsWithTags
=== RUN TestAccBackupSelection_withResources
=== PAUSE TestAccBackupSelection_withResources
=== RUN TestAccBackupSelection_withNotResources
=== PAUSE TestAccBackupSelection_withNotResources
=== RUN TestAccBackupSelection_updateTag
=== PAUSE TestAccBackupSelection_updateTag
=== CONT TestAccBackupSelectionDataSource_basic
=== CONT TestAccBackupSelection_ConditionsWithTags
=== CONT TestAccBackupSelection_basic
=== CONT TestAccBackupSelection_withResources
=== CONT TestAccBackupSelection_Disappears_backupPlan
=== CONT TestAccBackupSelection_withTags
=== CONT TestAccBackupSelection_updateTag
=== CONT TestAccBackupSelection_disappears
=== CONT TestAccBackupSelection_withNotResources
--- PASS: TestAccBackupSelection_Disappears_backupPlan (29.67s)
--- PASS: TestAccBackupSelection_disappears (30.52s)
--- PASS: TestAccBackupSelectionDataSource_basic (31.26s)
--- PASS: TestAccBackupSelection_withNotResources (35.72s)
--- PASS: TestAccBackupSelection_basic (35.72s)
--- PASS: TestAccBackupSelection_withTags (35.74s)
--- PASS: TestAccBackupSelection_ConditionsWithTags (35.77s)
--- PASS: TestAccBackupSelection_withResources (41.27s)
--- PASS: TestAccBackupSelection_updateTag (51.07s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/backup 54.236s
@leonenkoa Thanks for the contribution 🎉 👏. |
This functionality has been released in v3.72.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! |
(likely) causes #22595 |
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 #21753.
Output from acceptance testing:
TESTARGS='-run=TestAccBackup' PKG=backup make testacc