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

fix: SecretsManagerRotationEnabled is non compliant after cdk v2.116.0 #1566

Merged
merged 4 commits into from
Jan 18, 2024

Conversation

clueleaf
Copy link
Contributor

Fixes #1565

Bumped CDK to v2.116.0 to reproduce the problem.
Changed some cloud9 tests as well because a parameter became required.

Changed SecretsManagerRotationEnabled rule to compliant state when either AutomaticallyAfterDays or ScheduleExpression exists.
see: https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-rotationrules.html#cfn-secretsmanager-rotationschedule-rotationrules-scheduleexpression

Existing SecretManager tests are not changed because just updating CDK version is enough to reproduce the error.

Copy link
Collaborator

@dontirun dontirun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@mergify mergify bot merged commit d557683 into cdklabs:main Jan 18, 2024
12 checks passed
@clueleaf clueleaf deleted the feat/secret_rotation branch January 25, 2024 03:02
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.

bug: SecretsManagerRotationEnabled is non compliant even if rotation is configured after cdk v2.116
2 participants