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

feat: Added sns_kms_arns parameter for granular kms access inside sns aws_iam_policy resource #129

Conversation

maartenvanderhoef
Copy link
Contributor

Description

This PR adds backwards compatible logic which gives the user the possibility to configure specific KMS arns, or even zero arns to to the policy related to SNS.

Motivation and Context

Currently a wildcard is used inside the iam policy which is something SecurityHub is complaining about.

Breaking Changes

It is backwards compatible as it uses the list ["*"] as default.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • [X ] I have executed pre-commit run -a on my pull request

@antonbabenko antonbabenko merged commit c4188b7 into terraform-aws-modules:master Jul 5, 2024
15 checks passed
antonbabenko pushed a commit that referenced this pull request Jul 5, 2024
## [3.7.0](v3.6.0...v3.7.0) (2024-07-05)

### Features

* Added sns_kms_arns parameter for granular kms access inside sns aws_iam_policy resource ([#129](#129)) ([c4188b7](c4188b7))
@antonbabenko
Copy link
Member

This PR is included in version 3.7.0 🎉

Copy link

github-actions bot commented Aug 7, 2024

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants