-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Add update step for change tags for aws_backup_vault resource #7933
Add update step for change tags for aws_backup_vault resource #7933
Conversation
LGTM |
resource.TestCheckResourceAttr("aws_backup_vault.test", "tags.foo", "bar"), | ||
resource.TestCheckResourceAttr("aws_backup_vault.test", "tags.fizz", "buzz"), | ||
), | ||
}, |
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.
You may want to test adding/removing tags too
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. Added test case.
$ make testacc TEST=./aws TESTARGS='-run=TestAccAwsBackupVault_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -parallel 20 -run=TestAccAwsBackupVault_ -timeout 120m
=== RUN TestAccAwsBackupVault_basic
=== PAUSE TestAccAwsBackupVault_basic
=== RUN TestAccAwsBackupVault_withKmsKey
=== PAUSE TestAccAwsBackupVault_withKmsKey
=== RUN TestAccAwsBackupVault_withTags
=== PAUSE TestAccAwsBackupVault_withTags
=== CONT TestAccAwsBackupVault_basic
=== CONT TestAccAwsBackupVault_withTags
=== CONT TestAccAwsBackupVault_withKmsKey
--- PASS: TestAccAwsBackupVault_basic (33.29s)
--- PASS: TestAccAwsBackupVault_withKmsKey (66.19s)
--- PASS: TestAccAwsBackupVault_withTags (74.41s)
PASS
ok github.com/terraform-providers/tmp-terraform-provider-aws/aws 74.504s
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, thanks @kterada0509 and @slapula 🚀
--- PASS: TestAccAwsBackupVault_basic (6.48s)
--- PASS: TestAccAwsBackupVault_withTags (10.48s)
--- PASS: TestAccAwsBackupVault_withKmsKey (26.49s)
This has been released in version 2.2.0 of the Terraform 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! |
Community Note
Fixes #7801
Changes proposed in this pull request:
Output from acceptance testing: