-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3654529
commit 6237a9c
Showing
11 changed files
with
6,556 additions
and
1,170 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"singleQuote": false, | ||
"arrowParens": "always", | ||
"trailingComma": "all", | ||
"printWidth": 120, | ||
"bracketSpacing": true, | ||
"semi": true | ||
} |
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,74 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Configure AWS Credentials Profile Support add new profile if credentials file already exists 1`] = ` | ||
"[profile default] | ||
region=fake-region-1 | ||
[profile test-profile] | ||
region=fake-region-1 | ||
role_arn=arn:aws:iam::111111111111:role/MY-ROLE | ||
role_session_name=GitHubActions | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support add new profile if credentials file already exists 2`] = ` | ||
"[default] | ||
aws_access_key=STS-AWS-ACCESS-KEY-ID | ||
aws_secret_access_key=STS-AWS-SECRET-ACCESS-KEY | ||
aws_session_token=STS-AWS-SESSION-TOKEN | ||
[test-profile] | ||
aws_access_key_id=STS-AWS-ACCESS-KEY-ID | ||
aws_secret_access_key=STS-AWS-SECRET-ACCESS-KEY | ||
aws_session_token=STS-AWS-SESSION-TOKEN | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support only role arn and region provided to use GH OIDC Token 1`] = ` | ||
"[profile test-profile] | ||
region=fake-region-1 | ||
role_arn=arn:aws:iam::111111111111:role/MY-ROLE | ||
role_session_name=GitHubActions | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support only role arn and region provided to use GH OIDC Token 2`] = ` | ||
"[test-profile] | ||
aws_access_key_id=STS-AWS-ACCESS-KEY-ID | ||
aws_secret_access_key=STS-AWS-SECRET-ACCESS-KEY | ||
aws_session_token=STS-AWS-SESSION-TOKEN | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support use profile and save credentials file 1`] = ` | ||
"[profile test-profile] | ||
region=fake-region-1 | ||
role_arn=arn:aws:iam::111111111111:role/MY-ROLE | ||
role_session_name=GitHubActions | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support use profile and save credentials file 2`] = ` | ||
"[test-profile] | ||
aws_access_key_id=STS-AWS-ACCESS-KEY-ID | ||
aws_secret_access_key=STS-AWS-SECRET-ACCESS-KEY | ||
aws_session_token=STS-AWS-SESSION-TOKEN | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support web identity token file provided with relative path 1`] = ` | ||
"[profile test-profile] | ||
region=fake-region-1 | ||
web_identity_token_file=fake/token/file | ||
role_arn=arn:aws:iam::111111111111:role/MY-ROLE | ||
role_session_name=GitHubActions | ||
" | ||
`; | ||
|
||
exports[`Configure AWS Credentials Profile Support web identity token file provided with relative path 2`] = ` | ||
"[test-profile] | ||
aws_access_key_id=STS-AWS-ACCESS-KEY-ID | ||
aws_secret_access_key=STS-AWS-SECRET-ACCESS-KEY | ||
aws_session_token=STS-AWS-SESSION-TOKEN | ||
" | ||
`; |
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
Oops, something went wrong.