Created
March 25, 2019 13:47
-
-
Save ilyasahsan123/92fd0e35e5f61a856b0e0b6e4ef798f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
env: | |
variables: | |
INPUT_TEMPLATE: "appspec.yaml" | |
S3_BUCKET: "do-great-bucket" | |
phases: | |
install: | |
commands: | |
- wget https://bootstrap.pypa.io/get-pip.py | |
- python get-pip.py | |
finally: | |
- echo INSTALL FINISH | |
build: | |
commands: | |
- python lambda_function_test.py | |
- aws cloudformation package --template $INPUT_TEMPLATE --s3-bucket $S3_BUCKET --output-template outputappspec.yaml | |
finally: | |
- echo BUILD FINISH | |
artifacts: | |
files: | |
- appspec.yaml | |
- outputappspec.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment