aws-samples/ecs-refarch-cloudformation

Stack getting rolled back automatically

Dawny33 opened this issue · 1 comments

Deployed the CloudFormation stack as is, in the us-east-1 region, the process got rolled back automatically after some time.

Image for reference:

screen shot 2018-01-23 at 5 15 17 pm

[PS: I have not initiated any rollbacks]

Hi @Dawny33,

The CloudFormation templates included within this repository include deploying new IAM roles.

CloudFormation by default, refuses to create IAM roles unless you specifically tick a box (or provide a cli flag) to allow it to do so.

If deploying via the CLI, add the following flag:

$ aws cloudformation create-stack --stack-name <name> ......... --capabilities CAPABILITY_IAM

If deploying via the AWS Management Console, make sure to tick this box on the last page of the CloudFormation console wizard when creating a stack:

image