-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix: Bump kms module to 1.0.2 to fix malformed policy document when not specifying key_owners #2163
fix: Bump kms module to 1.0.2 to fix malformed policy document when not specifying key_owners #2163
Conversation
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.
thanks @pfragoso !
### [18.26.5](v18.26.4...v18.26.5) (2022-07-20) ### Bug Fixes * Bump kms module to 1.0.2 to fix malformed policy document when not specifying key_owners ([#2163](#2163)) ([0fd1ab1](0fd1ab1))
This PR is included in version 18.26.5 🎉 |
…ot specifying key_owners (terraform-aws-modules#2163)
### [18.26.5](terraform-aws-modules/terraform-aws-eks@v18.26.4...v18.26.5) (2022-07-20) ### Bug Fixes * Bump kms module to 1.0.2 to fix malformed policy document when not specifying key_owners ([terraform-aws-modules#2163](terraform-aws-modules#2163)) ([0fd1ab1](terraform-aws-modules@0fd1ab1))
### [18.26.5](terraform-aws-modules/terraform-aws-eks@v18.26.4...v18.26.5) (2022-07-20) ### Bug Fixes * Bump kms module to 1.0.2 to fix malformed policy document when not specifying key_owners ([#2163](terraform-aws-modules/terraform-aws-eks#2163)) ([de8d3b6](terraform-aws-modules/terraform-aws-eks@de8d3b6))
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. |
Description
when enabling the default policy without key_owners it will lead to a malformed document
│ Error: error creating KMS Key: MalformedPolicyDocumentException: Policy contains a statement with no principal.
Motivation and Context
Downstream the fix from terraform-aws-modules/terraform-aws-kms#2
Breaking Changes
No
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request