-
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
d/aws_kms_key: Allow multi-region key ID or ARN for key_id
parameter value
#29266
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
Looks good! 🚀
--- PASS: TestAccKMSKeyDataSource_byKeyARN (69.16s)
--- PASS: TestAccKMSKeyDataSource_byAliasID (71.09s)
--- PASS: TestAccKMSKeyDataSource_byKeyID (71.48s)
--- PASS: TestAccKMSKeyDataSource_multiRegionConfigurationByID (71.61s)
--- PASS: TestAccKMSKeyDataSource_byAliasARN (71.68s)
--- PASS: TestAccKMSKeyDataSource_multiRegionConfigurationByARN (72.08s)
--- PASS: TestAccKMSKeyDataSource_grantToken (79.60s)
@@ -10,7 +10,7 @@ import ( | |||
"github.com/hashicorp/terraform-provider-aws/internal/acctest" | |||
) | |||
|
|||
func TestAccKMSKeyDataSource_basic(t *testing.T) { | |||
func TestAccKMSKeyDataSource_byKeyARN(t *testing.T) { |
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.
I like the more specific naming here. It does break the convention of a _basic
test, but because the data source accepts one of ARN, ID, alias ARN, or alias ID, it's better this way
This functionality has been released in v4.54.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. |
Description
Reinstates support for KMS multi-Region key ID or ARN values for the
aws_kms_key.key_id
parameter. Support was mistakenly removed via #29189.Relations
Closes #29248.
Output from Acceptance Testing