Skip to content

Instantly share code, notes, and snippets.

@allenheltondev
Created August 23, 2019 12:38
Show Gist options
  • Save allenheltondev/2238e5f12f0aa4c4363234056cfeb7d1 to your computer and use it in GitHub Desktop.
Save allenheltondev/2238e5f12f0aa4c4363234056cfeb7d1 to your computer and use it in GitHub Desktop.
version: 0.2
phases:
install:
runtime-versions:
nodejs: 10
pre_build:
commands:
- npm install
build:
commands:
- aws cloudformation package --template-file template.yaml --s3-bucket $BUILD_OUTPUT_BUCKET --output-template-file packaged.yaml
artifacts:
files:
- packaged.yaml
discard-paths: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment