Skip to content

Conversation

ranimbal
Copy link
Contributor

@ranimbal ranimbal commented Oct 9, 2025

Description

If creating a KMS key for cluster encryption, make it's key rotation period configurable.

Motivation and Context

The current AWS default KMS key rotation period is 365 days. The setting to make this period configurable is currently not exposed by the terraform-aws-eks module. We have security requirements to configure this period to be 90 days.

Breaking Changes

No breaking changes.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • [ x] 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

@ranimbal ranimbal changed the title feat: make kms key rotation period configurable feat: Make KMS key rotation period configurable Oct 9, 2025
@bryantbiggs bryantbiggs changed the title feat: Make KMS key rotation period configurable feat: Allow setting KMS key rotation period Oct 9, 2025
@bryantbiggs bryantbiggs merged commit fd490ea into terraform-aws-modules:master Oct 14, 2025
21 of 22 checks passed
antonbabenko pushed a commit that referenced this pull request Oct 14, 2025
## [21.4.0](v21.3.2...v21.4.0) (2025-10-14)

### Features

* Allow setting KMS key rotation period ([#3546](#3546)) ([fd490ea](fd490ea))
@antonbabenko
Copy link
Member

This PR is included in version 21.4.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants