This repository was archived by the owner on Nov 27, 2021. It is now read-only.

Description
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: