Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The stack won't deploy some times #1

Closed
davidgatti opened this issue Feb 2, 2019 · 4 comments
Closed

The stack won't deploy some times #1

davidgatti opened this issue Feb 2, 2019 · 4 comments
Assignees

Comments

@davidgatti
Copy link
Member

davidgatti commented Feb 2, 2019

There is a known bug that AWS is aware of in CF, which makes it that the stack won't deploy when you deal with S3 Events. To mitigate this problem the stack could be split in two.

Work around

Right now a work around that works 100% of the time is to remove from the S3Email resource this NotificationConfiguration.LambdaConfigurations, build the stack, deploy it, and then re-add the removed section, and perform and update on the stack.

This solution works, since we make sure that the Lambdas are in place before we add the events. For some this will work out of the box, it all depends how fast a Lambda will be deployed, and no, the DependsOn directive dose nothing - hence the bug.

@davidgatti davidgatti self-assigned this Feb 2, 2019
@davidgatti
Copy link
Member Author

I did try the deployment on a fresh AWS account and it worked without a problem. I'm closing this by hoping that AWS fixed this know bug on their side.

@joshuamsmith
Copy link

When I open deploy script in CloudFormations I get an error.

Template format error: Unrecognized resource types: [AWS::SES::ReceiptRule, AWS::SES::ReceiptRuleSet]

@davidgatti
Copy link
Member Author

Hmm, check if the Region you are in supports SES.

@joshuamsmith
Copy link

joshuamsmith commented Jul 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants