guardian / cf-notify Goto Github PK
View Code? Open in Web Editor NEWGet notified in Slack when changes to your Cloud Formation stack are made.
Get notified in Slack when changes to your Cloud Formation stack are made.
I had a little issue, it seems IAM roles can take a little time before they actually become available throughout AWS.
The role defined for the function cannot be assumed by Lambda
To get around it, I removed all resources from the cloudformation template, created the stack with just the IAM role, then continually tried updating the stack with the other resources until it worked, which seemed like 5-6 minutes.
Hello thank you for this cft-notification the template was uploaded fine but i am having an issue after the template is uploaded making the sns subscription ....
awscloudformation describe-stacks --stack-name cf-notify-$CHANNEL | jq ".Stacks[].Outputs[].OutputValue" | tr -d '"'
ERROR
A client error (ValidationError) occurred when calling the DescribeStacks operation: 1 validation error detected: Value 'cf-notify-@test1' at 'stackName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]|arn:[-a-zA-Z0-9:/._+]
ERROR
A client error (ValidationError) occurred when calling the DescribeStacks operation: 1 validation error detected: Value 'cf-notify-#test1' at 'stackName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]|arn:[-a-zA-Z0-9:/._+]
aws cloudformation [create-stack|update-stack|delete-stack] --notification-arns $SNS_ARN
ERROR
Invalid choice: '[create-stack', maybe you meant:
deploy.sh
is generating a stack with the name cf-notify
.
The Usage section of the documentation says to use a --stack-name
of cf-notify-$CHANNEL
. This causes the following error:
An error occurred (ValidationError) when calling the DescribeStacks operation: Stack with id cf-notify-builds does not exist
In my case, I only need to notify to a single channel so I can simple change the command, but it was still confusing. Others might need the ability to target different channels, in which case deploy.sh
should be changed.
deploy.sh
is generating a stack with the name cf-notify
.
The Usage section of the documentation says to use a --stack-name
of cf-notify-$CHANNEL
. This causes the following error:
An error occurred (ValidationError) when calling the DescribeStacks operation: Stack with id cf-notify-builds does not exist
In my case, I only need to notify to a single channel so I can simple change the command, but it was still confusing. Others might need the ability to target different channels, in which case deploy.sh
should be changed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.