Skip to content

Instantly share code, notes, and snippets.

@kojiisd
Last active December 24, 2018 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kojiisd/6b132ae621922dcf1b14e70a2f3332fd to your computer and use it in GitHub Desktop.
Save kojiisd/6b132ae621922dcf1b14e70a2f3332fd to your computer and use it in GitHub Desktop.
AWS Amplify ConsoleとAWS CodeBuildでサーバレスアプリをデプロイするまでどれくらいでできるかタイムトライアルしてみた ref: https://qiita.com/kojiisd/items/9649f374d89345c78cb6
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