hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.8k stars 9.15k forks source link

[Enhancement]: support kms_key_id in aws_codecommit_repository #35040

Closed visit1985 closed 8 months ago

visit1985 commented 10 months ago

Description

Please support Customer Managed Key (CMK) in AWS CodeCommit.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_kms_key" "a" {}

resource "aws_codecommit_repository" "test" {
  repository_name = "MyTestRepository"
  description     = "This is the Sample App Repository"
  kms_key_id      = aws_kms_key.a.key_id
}

References

https://aws.amazon.com/about-aws/whats-new/2023/12/customer-managed-key-support-aws-codecommit/ https://docs.aws.amazon.com/codecommit/latest/APIReference/API_CreateRepository.html

Would you like to implement a fix?

None

github-actions[bot] commented 10 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

ewbankkit commented 10 months ago

Requires AWS SDK for Go v1.49.8: https://github.com/hashicorp/terraform-provider-aws/pull/35036.

github-actions[bot] commented 8 months ago

This functionality has been released in v5.34.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!

github-actions[bot] commented 7 months ago

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.