Last active
December 24, 2018 11:41
-
-
Save kojiisd/6b132ae621922dcf1b14e70a2f3332fd to your computer and use it in GitHub Desktop.
AWS Amplify ConsoleとAWS CodeBuildでサーバレスアプリをデプロイするまでどれくらいでできるかタイムトライアルしてみた ref: https://qiita.com/kojiisd/items/9649f374d89345c78cb6
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 | |
phases: | |
install: | |
commands: | |
- apt-get update -y | |
- npm install -g serverless | |
pre_build: | |
commands: | |
- sed -i -e "s|COGNITO_IDP_ARN|${COGNITO_IDP_ARN}|g" serverless.yml | |
- sed -i -e "s/USER_POOL_ID/${USER_POOL_ID}/g" serverless.yml | |
build: | |
commands: | |
- sls deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment