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

missing kms grants #103

Open
1robroos opened this issue Apr 10, 2022 · 0 comments
Open

missing kms grants #103

1robroos opened this issue Apr 10, 2022 · 0 comments

Comments

@1robroos
Copy link

Hello,
after testing product " Demo Apache Webserver" I received an error in cloudformation:

Instance i-002063fcc56a1fa19 failed to stabilize. Current state: shutting-down. Reason: Client.InternalError: Client error on launch 

I was not able to solve this, but luckely aws suppert helped me out here: seems that role SCEC2LaunchRole was missing these policies:

              "kms:CreateGrant",
                "kms:Decrypt",
                "kms:DescribeKey",
                "kms:GenerateDataKeyWithoutPlainText",
                "kms:ReEncrypt"

It needs them because my account i using EBS encryption by default. At that moment you need these polices, as described in https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#ebs-encryption-requirements

Hope you can use this info for improvement.

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

No branches or pull requests

1 participant