Add AWS env vars to bootstrap env file creation

This commit is contained in:
Ben Magyar 2019-05-01 19:44:29 -04:00
parent 17dd2a8a3a
commit b9abb2a9f3

View file

@ -39,6 +39,9 @@ get_exposed_port() {
build_env_file() {
cat > $1<<EOF
export AWS_DEFAULT_REGION=local
export AWS_ACCESS_KEY_ID=LOCALDEV
export AWS_SECRET_ACCESS_KEY=LOCALDEV
export DYNAMODB_ENDPOINT=http://${DOCKER_IP}:$(get_exposed_port dynamodb 7777)
EOF
}