-
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
resource/aws_mq_broker: Add encryption_options configuration block (support AWS and customer managed KMS CMKs) #10276
Conversation
…upport AWS and customer managed KMS CMKs) Reference: #9455 Output from acceptance testing: ``` --- PASS: TestAccAWSMqBroker_allFieldsCustomVpc (1906.75s) --- PASS: TestAccAWSMqBroker_allFieldsDefaultVpc (1859.86s) --- PASS: TestAccAWSMqBroker_basic (1213.98s) --- PASS: TestAccAWSMqBroker_EncryptionOptions_KmsKeyId (1219.72s) --- PASS: TestAccAWSMqBroker_EncryptionOptions_UseAwsOwnedKey_Disabled (1200.00s) --- PASS: TestAccAWSMqBroker_EncryptionOptions_UseAwsOwnedKey_Enabled (1151.79s) --- PASS: TestAccAWSMqBroker_updateTags (1549.03s) --- PASS: TestAccAWSMqBroker_updateUsers (1610.53s) --- PASS: TestAccDataSourceAWSMqBroker_basic (1232.58s) ```
2cc5b1d
to
c80a2d1
Compare
@@ -76,6 +77,11 @@ The following arguments are supported: | |||
* `id` - (Optional) The Configuration ID. | |||
* `revision` - (Optional) Revision of the Configuration. | |||
|
|||
#### `encryption_options` | |||
|
|||
* `kms_key_id` - (Optional) Amazon Resource Name (ARN) of Key Management Service (KMS) Customer Master Key (CMK) to use for encryption at rest. Requires setting `use_aws_owned_key` to `false`. To perform drift detection when AWS managed CMKs or customer managed CMKs are in use, the value must be configured. |
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.
It is not clear what value must be configured. Is it the use_aws_owned_key
set to false or are you saying that the kms_key_id
should be set?
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'll switch the value must be configured
to this value must be configured
-- we're not the best at documenting Computed: true
attributes and admittedly I was having a hard time wording it.
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.
Left a comment on the kms_key_id
documentation but this is otherwise good to go 👍 👍
This has been released in version 2.31.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 #9455
Release note for CHANGELOG:
Output from acceptance testing: