Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPates committed Dec 12, 2023
1 parent 3723f34 commit f68a295
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cicd/tests/smoke/cli/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ version: 0.2

env:
secrets-manager:
GoogleAdminEmail: SecretGoogleAdminEmail
SCIMEndpointUrl: SecretSCIMEndpoint
SCIMAccessToken: SecretSCIMAccessToken
IdentityStoreID: SecretIdentityStoreID
Region: SecretRegion
GoogleAdminEmail: SSOSyncGoogleAdminEmail
SCIMEndpointUrl: SSOSyncSCIMEndpointUrl
SCIMAccessToken: SSOSyncSCIMAccessToken
IdentityStoreID: SSOSyncIdentityStoreID
Region: SSOSyncRegion
variables:
ExpectedExitState: 0

Expand All @@ -19,7 +19,7 @@ phases:
build:
commands:
- ./ssosync --version
- aws secretsmanager get-secret-value --secret-id=SecretGoogleCredentials --query SecretString --output text | jq '.' > credentials.json
- aws secretsmanager get-secret-value --secret-id=SSOSyncGoogleCredentials --query SecretString --output text | jq '.' > credentials.json
- cat credentials.json

- ./ssosync -t "${SCIMAccessToken}" -e "${SCIMEndpointUrl}" -u "${GoogleAdminEmail}" -i "${IdentityStoreID}" -r "${Region}" -s "groups" -g "name:AWS*"; ExitState=$?
Expand Down

0 comments on commit f68a295

Please sign in to comment.