Skip to content
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

[Enhancement]: Add KMS attribute for the aws_s3_bucket data source #36443

Open
Dhruvesh92 opened this issue Mar 18, 2024 · 2 comments
Open

[Enhancement]: Add KMS attribute for the aws_s3_bucket data source #36443

Dhruvesh92 opened this issue Mar 18, 2024 · 2 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/s3 Issues and PRs that pertain to the s3 service.

Comments

@Dhruvesh92
Copy link

Description

The aws_s3_bucket data source does not have a KMS attribute, if the bucket is a KMS encrypted.

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

data "aws_s3_bucket" "test" {}

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

Yes

@Dhruvesh92 Dhruvesh92 added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 18, 2024
@github-actions github-actions bot added the service/s3 Issues and PRs that pertain to the s3 service. label Mar 18, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Mar 18, 2024
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Mar 19, 2024
@et304383
Copy link

Serious oversight here.

  • S3 bucket created elsewhere.
  • I need to consume that bucket.
  • I need to update IAM role policy of thing consuming the bucket to add permissions on the KMS key
  • I have no way in Terraform to get the KMS key ARN of that bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/s3 Issues and PRs that pertain to the s3 service.
Projects
None yet
Development

No branches or pull requests

3 participants