-
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/backup_plan - remove validation #16605
r/backup_plan - remove validation #16605
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=TestAccAwsBackupPlan_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsBackupPlan_ -timeout 120m
=== RUN TestAccAwsBackupPlan_basic
=== PAUSE TestAccAwsBackupPlan_basic
=== RUN TestAccAwsBackupPlan_withTags
=== PAUSE TestAccAwsBackupPlan_withTags
=== RUN TestAccAwsBackupPlan_withRules
=== PAUSE TestAccAwsBackupPlan_withRules
=== RUN TestAccAwsBackupPlan_withLifecycle
=== PAUSE TestAccAwsBackupPlan_withLifecycle
=== RUN TestAccAwsBackupPlan_withRecoveryPointTags
=== PAUSE TestAccAwsBackupPlan_withRecoveryPointTags
=== RUN TestAccAwsBackupPlan_Rule_CopyAction_SameRegion
=== PAUSE TestAccAwsBackupPlan_Rule_CopyAction_SameRegion
=== RUN TestAccAwsBackupPlan_Rule_CopyAction_NoLifecycle
=== PAUSE TestAccAwsBackupPlan_Rule_CopyAction_NoLifecycle
=== RUN TestAccAwsBackupPlan_Rule_CopyAction_Multiple
=== PAUSE TestAccAwsBackupPlan_Rule_CopyAction_Multiple
=== RUN TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion
=== PAUSE TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion
=== RUN TestAccAwsBackupPlan_AdvancedBackupSetting
=== PAUSE TestAccAwsBackupPlan_AdvancedBackupSetting
=== RUN TestAccAwsBackupPlan_disappears
=== PAUSE TestAccAwsBackupPlan_disappears
=== CONT TestAccAwsBackupPlan_basic
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_NoLifecycle
=== CONT TestAccAwsBackupPlan_disappears
=== CONT TestAccAwsBackupPlan_AdvancedBackupSetting
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_Multiple
=== CONT TestAccAwsBackupPlan_withLifecycle
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_SameRegion
=== CONT TestAccAwsBackupPlan_withRecoveryPointTags
=== CONT TestAccAwsBackupPlan_withRules
=== CONT TestAccAwsBackupPlan_withTags
--- PASS: TestAccAwsBackupPlan_disappears (37.45s)
--- PASS: TestAccAwsBackupPlan_AdvancedBackupSetting (37.85s)
--- PASS: TestAccAwsBackupPlan_basic (37.95s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_Multiple (43.53s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion (44.46s)
--- PASS: TestAccAwsBackupPlan_withRecoveryPointTags (73.69s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_NoLifecycle (77.43s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_SameRegion (77.77s)
--- PASS: TestAccAwsBackupPlan_withTags (78.79s)
--- PASS: TestAccAwsBackupPlan_withRules (78.91s)
--- PASS: TestAccAwsBackupPlan_withLifecycle (89.31s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 89.464s
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.
Hi @DrFaust92, this is looking good. I believe you'll just also need to remove the validation within lifecycle
delete_after
👍
@anGie44 , Thanks missed the second one. |
Any update on when this will be merged? |
Hi @guterz , we'll have this in the |
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.
Thanks for the quick fix @DrFaust92 👍
Output of acceptance tests (commerical):
--- PASS: TestAccAwsBackupPlan_disappears (34.96s)
--- PASS: TestAccAwsBackupPlan_AdvancedBackupSetting (35.54s)
--- PASS: TestAccAwsBackupPlan_basic (37.94s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_Multiple (38.86s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion (47.50s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_SameRegion (67.10s)
--- PASS: TestAccAwsBackupPlan_withRules (68.34s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_NoLifecycle (68.38s)
--- PASS: TestAccAwsBackupPlan_withTags (68.91s)
--- PASS: TestAccAwsBackupPlan_withRecoveryPointTags (69.29s)
--- PASS: TestAccAwsBackupPlan_withLifecycle (77.40s)
This has been released in version 3.21.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 #16583
Release note for CHANGELOG:
Output from acceptance testing: