Coder Social home page Coder Social logo

cf-notify's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cf-notify's Issues

IAM Roles are not always readily available

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.

issue

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 ....

  • SNS_ARN=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:/._+]

  • and if i set the SNS_ARN=arn:aws:sns:us-east-1:1xxxxxxxxxx:cf-notify-CFNotifyTopic-AETHPBFWK2ZO
    and run the below cli command it throws the error

aws cloudformation [create-stack|update-stack|delete-stack] --notification-arns $SNS_ARN

ERROR
Invalid choice: '[create-stack', maybe you meant:

  • create-stack

deploy.sh generating cf-notify stack with wrong name

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 generating cf-notify stack with wrong name

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.

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.