Codementor Events

Aws CF template, Code Build

Published Nov 12, 2019
Aws CF template, Code Build

I’m using code build as a cloudformation template to download a zipfile from s3 bucket, unzip it and then excuse the cloudformation template inside this zip file using the below aws cli

Cloudformation snips:

BuildSpec: !sub |
Version:0.1
Phase:
Build:
Commands:
- aws s3 cp s3://example-bucket/example-object.zip .
- unzip -l example-object.zip
- aws cloudformation deploy -—template-file ./simple-CF-template.yaml
-—stack-name test --capabilities CAPABILITY_IAM

the error as you can see in the capturep

Discover and read more posts from As . K
get started