Skip to content

Commit

Permalink
AUT-3814: Explicit support for authdev* sectors
Browse files Browse the repository at this point in the history
The export-ics script was failing to create authdev ids due to an incorrect sector. This is corrected here.
  • Loading branch information
mattvot committed Jan 8, 2025
1 parent a710e8c commit a476a14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/export-ics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ fi

export AWS_REGION=eu-west-2

sector="identity.$2.account.gov.uk"
if [[ $2 == authdev* ]]; then
sector="identity.$2.sandpit.account.gov.uk"
else
sector="identity.$2.account.gov.uk"
fi

echo -e "Exporting internalCommonSubjectId for Email = $1 Environment = $2 Sector = ${sector}"

Expand Down

0 comments on commit a476a14

Please sign in to comment.