Commit d4c615f7 authored by Rayan  CHIKHI's avatar Rayan CHIKHI
Browse files

aws profile. how comes it wasn't committed before?!

parent ed122dd6
aws cloudformation create-stack --stack-name serratus-batch-dl --template-body file://template/template.yaml --capabilities CAPABILITY_NAMED_IAM
# https://gist.github.com/ambakshi/d17ad18e0532530359f9
aws configure set preview.sdb true
aws sdb create-domain --domain-name serratus-batch
......@@ -60,6 +60,14 @@ display_usage ()
echo_stderr " FOO_SESSION_TOKEN=\$($0 --profile=myprofile --session-token)"
}
#get profile from environment variable
if [[ -z "${AWS_PROFILE}" ]]; then
# aws-profile is unset
:
else
PROFILE="${AWS_PROFILE}"
fi
for i in "$@"
do
case $i in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment