Turns out you need to check the box on the last screen to create the stack | update:
In CodePipeline CloudFormation, you can add it to allow the created change_set to be executed in the deployment action:
Configuration: StackName: !Ref GitHubRepository ActionMode: CHANGE_SET_REPLACE Capabilities: CAPABILITY_NAMED_IAM RoleArn: arn:aws:iam::818272543125:role/events-list-codepiplinerole ChangeSetName: !Join ["",[!Ref GitHubRepository, "-changeset"]] TemplatePath: MyAppBuild::sam_post.yaml
In aws cli append
--capabilities CAPABILITY_IAM
or
--capabilities CAPABILITY_NAMED_IAM
To your team:
aws cloudformation create-stack --stack-name message-store --template-body file:
This does not apply to the cloudformation --validate pattern, since it does not actually create resources.
source share