fix: Bump kms module to 1.0.2 to fix malformed policy document when not specifying key_owners#2163
Merged
bryantbiggs merged 2 commits intoJul 20, 2022
Conversation
antonbabenko
pushed a commit
that referenced
this pull request
Jul 20, 2022
### [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))
Member
|
This PR is included in version 18.26.5 🎉 |
astech-mweber3
pushed a commit
to spring-media/terraform-aws-eks
that referenced
this pull request
Jul 22, 2022
…ot specifying key_owners (terraform-aws-modules#2163)
astech-mweber3
pushed a commit
to spring-media/terraform-aws-eks
that referenced
this pull request
Jul 22, 2022
### [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))
baibailiha
added a commit
to baibailiha/terraform-aws-eks
that referenced
this pull request
Sep 13, 2022
### [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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 -aon my pull request