-
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
r/kms_key - correctly handle PendingDeletion
state
#19967
Conversation
… require their own resource type.
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 TESTARGS='-run=TestAccAWSKmsKey_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSKmsKey_ -timeout 180m
=== RUN TestAccAWSKmsKey_basic
=== PAUSE TestAccAWSKmsKey_basic
=== RUN TestAccAWSKmsKey_asymmetricKey
=== PAUSE TestAccAWSKmsKey_asymmetricKey
=== RUN TestAccAWSKmsKey_disappears
=== PAUSE TestAccAWSKmsKey_disappears
=== RUN TestAccAWSKmsKey_policy
=== PAUSE TestAccAWSKmsKey_policy
=== RUN TestAccAWSKmsKey_Policy_IamRole
=== PAUSE TestAccAWSKmsKey_Policy_IamRole
=== RUN TestAccAWSKmsKey_Policy_IamServiceLinkedRole
=== PAUSE TestAccAWSKmsKey_Policy_IamServiceLinkedRole
=== RUN TestAccAWSKmsKey_isEnabled
=== PAUSE TestAccAWSKmsKey_isEnabled
=== RUN TestAccAWSKmsKey_tags
=== PAUSE TestAccAWSKmsKey_tags
=== CONT TestAccAWSKmsKey_basic
=== CONT TestAccAWSKmsKey_Policy_IamServiceLinkedRole
=== CONT TestAccAWSKmsKey_policy
=== CONT TestAccAWSKmsKey_disappears
=== CONT TestAccAWSKmsKey_asymmetricKey
=== CONT TestAccAWSKmsKey_tags
=== CONT TestAccAWSKmsKey_Policy_IamRole
=== CONT TestAccAWSKmsKey_isEnabled
--- PASS: TestAccAWSKmsKey_disappears (13.71s)
--- PASS: TestAccAWSKmsKey_asymmetricKey (16.55s)
--- PASS: TestAccAWSKmsKey_basic (19.32s)
--- PASS: TestAccAWSKmsKey_tags (30.44s)
--- PASS: TestAccAWSKmsKey_Policy_IamRole (30.84s)
--- PASS: TestAccAWSKmsKey_policy (31.27s)
--- PASS: TestAccAWSKmsKey_Policy_IamServiceLinkedRole (39.05s)
--- PASS: TestAccAWSKmsKey_isEnabled (224.70s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 227.612s
multi_region
PendingDeletion
state
@DrFaust92 Thanks for the contribution 🎉 👏. Given that multi-Region KMS CMKs have a significantly different lifecycle from standard, single-Region keys I tend to think that a completely separate |
This functionality has been released in v3.50.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! |
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 #17889
Relates #19896 (to close we need a solution for the replicas in other regions)Output from acceptance testing: