-
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/aws_backup_plan: Add support for AdvancedBackupSettings #15341
r/aws_backup_plan: Add support for AdvancedBackupSettings #15341
Conversation
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by Renovate Bot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
a4ed398
to
d4a38de
Compare
@gazoakley Thanks for the contribution. |
d4a38de
to
726b550
Compare
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_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_Multiple
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_SameRegion
=== CONT TestAccAwsBackupPlan_withRecoveryPointTags
=== CONT TestAccAwsBackupPlan_withLifecycle
=== CONT TestAccAwsBackupPlan_withRules
=== CONT TestAccAwsBackupPlan_withTags
=== CONT TestAccAwsBackupPlan_disappears
=== CONT TestAccAwsBackupPlan_AdvancedBackupSetting
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion
=== CONT TestAccAwsBackupPlan_disappears
resource_aws_backup_plan_test.go:507: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAwsBackupPlan_disappears (49.82s)
--- PASS: TestAccAwsBackupPlan_AdvancedBackupSetting (58.60s)
--- PASS: TestAccAwsBackupPlan_basic (59.05s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_Multiple (59.18s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion (64.30s)
--- PASS: TestAccAwsBackupPlan_withRules (99.53s)
--- PASS: TestAccAwsBackupPlan_withTags (104.83s)
--- PASS: TestAccAwsBackupPlan_withRecoveryPointTags (105.34s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_SameRegion (105.90s)
--- PASS: TestAccAwsBackupPlan_withLifecycle (119.23s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 119.513s
LGTM 🚀 Thanks @gazoakley Verified Acceptance Tests in Commercial (us-west-2) 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_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_Multiple
=== CONT TestAccAwsBackupPlan_disappears
=== CONT TestAccAwsBackupPlan_withRecoveryPointTags
=== CONT TestAccAwsBackupPlan_withLifecycle
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_SameRegion
=== CONT TestAccAwsBackupPlan_AdvancedBackupSetting
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion
=== CONT TestAccAwsBackupPlan_withTags
=== CONT TestAccAwsBackupPlan_withRules
2020/10/14 11:27:41 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2020/10/14 11:27:42 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
=== CONT TestAccAwsBackupPlan_disappears
resource_aws_backup_plan_test.go:507: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAwsBackupPlan_disappears (18.91s)
2020/10/14 11:27:51 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2020/10/14 11:27:51 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_Multiple (21.17s)
--- PASS: TestAccAwsBackupPlan_basic (21.42s)
--- PASS: TestAccAwsBackupPlan_AdvancedBackupSetting (21.90s)
2020/10/14 11:27:56 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion (27.78s)
--- PASS: TestAccAwsBackupPlan_withTags (44.39s)
--- PASS: TestAccAwsBackupPlan_withRecoveryPointTags (46.58s)
--- PASS: TestAccAwsBackupPlan_withRules (46.62s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_SameRegion (47.75s)
--- PASS: TestAccAwsBackupPlan_withLifecycle (57.90s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 59.801s Verified Acceptance Criteria in GovCloud (us-gov-west-1) 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_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_Multiple
=== CONT TestAccAwsBackupPlan_disappears
=== CONT TestAccAwsBackupPlan_AdvancedBackupSetting
=== CONT TestAccAwsBackupPlan_withTags
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion
=== CONT TestAccAwsBackupPlan_withLifecycle
=== CONT TestAccAwsBackupPlan_Rule_CopyAction_SameRegion
=== CONT TestAccAwsBackupPlan_withRecoveryPointTags
=== CONT TestAccAwsBackupPlan_withRules
=== CONT TestAccAwsBackupPlan_disappears
resource_aws_backup_plan_test.go:507: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAwsBackupPlan_disappears (14.97s)
2020/10/14 11:42:49 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAwsBackupPlan_basic (18.50s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_Multiple (18.99s)
2020/10/14 11:42:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAwsBackupPlan_AdvancedBackupSetting (19.94s)
2020/10/14 11:42:57 [DEBUG] Deleting Backup Plan: a2fddb7e-9936-403a-a097-b87e9d305090
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_CrossRegion (25.66s)
2020/10/14 11:43:03 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAwsBackupPlan_withRecoveryPointTags (36.72s)
--- PASS: TestAccAwsBackupPlan_withTags (36.78s)
--- PASS: TestAccAwsBackupPlan_Rule_CopyAction_SameRegion (39.74s)
--- PASS: TestAccAwsBackupPlan_withRules (40.84s)
--- PASS: TestAccAwsBackupPlan_withLifecycle (50.30s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 52.117s |
This has been released in version 3.11.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 #15329
Release note for CHANGELOG:
Output from acceptance testing: