Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow deployments using SSO profiles #789

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/bin/URL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export AWS_PROFILE=$(node -e "console.log(require('$__dirname'+'/../config.json').profile)")
# If profile specified from config file does not exist, allow cli to move on to using instance profile
aws configure get aws_access_key_id --profile $AWS_PROFILE || unset AWS_PROFILE
aws configure list --profile $AWS_PROFILE || unset AWS_PROFILE
export AWS_DEFAULT_REGION=$(node -e "console.log(require('$__dirname'+'/../config.json').region)")

OUTPUT=$($__dirname/exports.js dev/bootstrap)
Expand Down
2 changes: 1 addition & 1 deletion source/bin/update-public.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ parse_arguments $@
__dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export AWS_PROFILE=$(node -e "console.log(require('$__dirname'+'/../config.json').profile)")
# If profile specified from config file does not exist, allow cli to move on to using instance profile
aws configure get aws_access_key_id --profile $AWS_PROFILE || unset AWS_PROFILE
aws configure list --profile $AWS_PROFILE || unset AWS_PROFILE
export AWS_DEFAULT_REGION=$(node -e "console.log(require('$__dirname'+'/../config.json').region)")

OUTPUT=$($__dirname/exports.js dev/bootstrap)
Expand Down
2 changes: 1 addition & 1 deletion source/bin/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ parse_arguments $@
__dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export AWS_PROFILE=$(node -e "console.log(require('$__dirname'+'/../config.json').profile)")
# If profile specified from config file does not exist, allow cli to move on to using instance profile
aws configure get aws_access_key_id --profile $AWS_PROFILE || unset AWS_PROFILE
aws configure list --profile $AWS_PROFILE || unset AWS_PROFILE
export AWS_DEFAULT_REGION=$(node -e "console.log(require('$__dirname'+'/../config.json').region)")

OUTPUT=$($__dirname/exports.js dev/bootstrap)
Expand Down