Giter Club home page Giter Club logo

Comments (5)

prad9 avatar prad9 commented on August 13, 2024 1

We are facing same problem again. Configured alarms and SNS topic via Console and now when alarm went to "In alarm" state it failed with this error: Failed to execute action arn:aws:sns:****::. Received error: "CloudWatch Alarms does not have authorization to access the SNS topic encryption key."

from landing-zone-accelerator-on-aws.

thi-baut avatar thi-baut commented on August 13, 2024

I faced a similar problem and fixed the issue by manually adding the snippet shared by @LawLaw443 and also adding selected permissions to the principal of the source account (where the CW Event is configured). Full policy:

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::AUDIT_ACCOUNT:root" }, "Action": "kms:*", "Resource": "*" }, { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::MANAGEMENT_ACCOUNT:root" }, "Action": [ "kms:GenerateDataKey", "kms:Decrypt", "kms:DescribeKey" ], "Resource": "*" }, { "Sid": "Allow_CloudWatch_for_CMK", "Effect": "Allow", "Principal": { "Service": "cloudwatch.amazonaws.com" }, "Action": [ "kms:Decrypt", "kms:GenerateDataKey*" ], "Resource": "*" } ] }

from landing-zone-accelerator-on-aws.

hickeydh-aws avatar hickeydh-aws commented on August 13, 2024

Hello @LawLaw443. Thank you for submitting this bug. We have reworked SNS Topics in version 1.3. The new configuration example can be found here https://awslabs.github.io/landing-zone-accelerator-on-aws/classes/_aws_accelerator_config.SnsTopicConfig.html . Can you let us know if this resolves the issue?

from landing-zone-accelerator-on-aws.

hickeydh-aws avatar hickeydh-aws commented on August 13, 2024

Please re-open the issue if you're still having a problem.

from landing-zone-accelerator-on-aws.

nelsonsilva-code avatar nelsonsilva-code commented on August 13, 2024

@prad9 Did you manage to fix this? I'm having the same issue and I appear to have all the permissions set up (even did kms:, sns: and cloudwatch:* to test)

from landing-zone-accelerator-on-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.