Skip to content

Commit

Permalink
Fixes #21 - update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tawoyinfa committed Jun 29, 2023
1 parent d440596 commit c4b779b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions deployment/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@ set -xe

export AWS_PROFILE=$TEAM_ACCOUNT_PROFILE

cd ..

git remote add team https://github.com/aws-samples/iam-identity-center-team.git
git pull team main

aws cloudformation deploy --region $REGION --template-file template.yml \
--stack-name TEAM-IDC-APP \
--parameter-overrides \
Source=$EMAIL_SOURCE \
Login=$IDC_LOGIN_URL \
teamAdminGroup="$TEAM_ADMIN_GROUP" \
teamAuditGroup="$TEAM_AUDITOR_GROUP" \
--no-fail-on-empty-changeset --capabilities CAPABILITY_NAMED_IAM

git push origin main
git remote remove team

0 comments on commit c4b779b

Please sign in to comment.