mirror of
https://github.com/sprockets/sprockets-dynamodb.git
synced 2024-11-14 19:29:28 +00:00
Add AWS env vars to bootstrap env file creation
This commit is contained in:
parent
17dd2a8a3a
commit
b9abb2a9f3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue