Skip to content

Commit

Permalink
solve merge request
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansim committed May 28, 2020
2 parents a98a204 + 8841ecd commit 4e7c16c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion getParamStore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ function exportToFile() {
#restore delimiter
IFS=$old_IFS
}
for var in $ARGUMENTS
do
PARAMSTORE=`aws ssm get-parameters-by-path --path "$var" --no-paginate --recursive | jq -r '.Parameters'`
exportToFile "$PARAMSTORE"
done
done
2 changes: 1 addition & 1 deletion switchRole.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ export AWS_SECRET_ACCESS_KEY=`cat assume-role-output.txt | jq -r '.Credentials.S
export AWS_SESSION_TOKEN=`cat assume-role-output.txt | jq -r '.Credentials.SessionToken'`
export AWS_DEFAULT_REGION=$2

echo "End of Switch Role"
echo "End of Switch Role"

0 comments on commit 4e7c16c

Please sign in to comment.