terraform-aws-eks
terraform-aws-eks copied to clipboard
feat(kms): Remove default kms key adminstrators if the default policy is enabled
Description
If I enable the default policy I do not want the currently running user to be saved in the KMS admin policy. Since the default policy is permissive I think we can remove the default admin if it's enabled.
Motivation and Context
Simplifies with Terraform diff per user running the command.
Breaking Changes
None.
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 -aon my pull request
Manually applied and tested