Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rayan CHIKHI
serratus-batch-dl
Commits
d4c615f7
Commit
d4c615f7
authored
Jun 17, 2020
by
Rayan CHIKHI
Browse files
aws profile. how comes it wasn't committed before?!
parent
ed122dd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
spinup.sh
View file @
d4c615f7
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
src/get-aws-profile.sh
View file @
d4c615f7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment