-
-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Cleaning up OIDC Work (#3554)
* fix: Adding docs on `--terragrunt-iam-web-identity-token` * fix: Adjusting tests for CircleCI * fix: Removing key + secret before testing OIDC * fix: Fixing up some testing * fix: Fixing up tests by using the proper flag name * fix: Fixing up tests by using the proper flag names * fix: Adding debug logs * fix: Use manually created empty files * feat: Adding `auth-provider-cmd` support for OIDC * fix: Fixing typo in path to mock auth command * fix: Fixing unrelated test failures * fix: Fixing more missed merge conflicts
- Loading branch information
Showing
9 changed files
with
171 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
test/fixtures/assume-role-web-identity/env-var/terragrunt.hcl
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o pipefail | ||
|
||
: "${AWS_TEST_OIDC_ROLE_ARN:?The AWS_TEST_OIDC_ROLE_ARN environment variable must be set.}" | ||
: "${CIRCLE_OIDC_TOKEN_V2:?The CIRCLE_OIDC_TOKEN_V2 environment variable must be set.}" | ||
|
||
jq -n \ | ||
--arg role "$AWS_TEST_OIDC_ROLE_ARN" \ | ||
--arg token "$CIRCLE_OIDC_TOKEN_V2" \ | ||
'{awsRole: {roleARN: $role, webIdentityToken: $token}}' |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters