Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

issue #10

Open
eashweragero101 opened this issue May 4, 2018 · 0 comments
Open

issue #10

eashweragero101 opened this issue May 4, 2018 · 0 comments

Comments

@eashweragero101
Copy link

eashweragero101 commented May 4, 2018

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant