We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.83.6
Ubuntu 22.04
cfn-lint throw E3002 for RotationPeriodInDays property in AWS::KMS::Key Resource
cfn-lint -I src/cloudformation/main.yml 2024-04-22 11:21:39,527 - cfnlint.runner - INFO - Run scan of template src/cloudformation/main.yml E3002 Invalid Property Resources/KMSKey/Properties/RotationPeriodInDays src/cloudformation/main.yml:34:7
Thank you
RotationPeriodInDays is valid property of AWS::KMS::Key Resource.
Resources: KMSKey: Type: AWS::KMS::Key Properties: Description: KMS key EnableKeyRotation: true RotationPeriodInDays: 90 KeyPolicy: Version: '2012-10-17' Id: my-test-kms-key Statement: - Sid: Allow direct access to key metadata to the root account Effect: Allow Principal: AWS: !Sub arn:aws:iam::${AWS::AccountId}:root Action: kms:* Resource: '*'
The text was updated successfully, but these errors were encountered:
Its in automated PR #3149 . You can always run cfn-lint --update-specs until a new release is done (will be today).
cfn-lint --update-specs
Sorry, something went wrong.
No branches or pull requests
CloudFormation Lint Version
0.83.6
What operating system are you using?
Ubuntu 22.04
Describe the bug
cfn-lint throw E3002 for RotationPeriodInDays property in AWS::KMS::Key Resource
Thank you
Expected behavior
RotationPeriodInDays is valid property of AWS::KMS::Key Resource.
Reproduction template
The text was updated successfully, but these errors were encountered: