fix!: proxy changes to v1-node16 (runtime failures

This commit is contained in:
Tom Keller
2023-02-24 16:00:06 -08:00
parent a19d847176
commit 186395a864
4 changed files with 42677 additions and 125 deletions
-17
View File
@@ -138,17 +138,6 @@ In this example, the audience has been changed from the default to use a differe
Changing the default audience may be necessary when using non-default [AWS partitions](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
```yaml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role
role-session-name: MySessionName
mask-aws-account-id: false
```
In this example, account ID masking has been disabled. By default, the AWS account ID will be obscured in the action's output. This may be helpful when debugging action failures.
### Sample IAM Role CloudFormation Template
```yaml
Parameters:
@@ -160,10 +149,6 @@ Parameters:
Description: Arn for the GitHub OIDC Provider.
Default: ""
Type: String
OIDCAudience:
Description: Audience supplied to configure-aws-credentials.
Default: "sts.amazonaws.com"
Type: String
Conditions:
CreateOIDCProvider: !Equals
@@ -184,8 +169,6 @@ Resources:
- !Ref GithubOidc
- !Ref OIDCProviderArn
Condition:
StringEquals:
token.actions.githubusercontent.com:aud: !Ref OIDCAudience
StringLike:
token.actions.githubusercontent.com:sub: !Sub repo:${GitHubOrg}/${RepositoryName}:*
+42672 -102
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -1100,9 +1100,9 @@
"integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw=="
},
"aws-sdk": {
"version": "2.1320.0",
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1320.0.tgz",
"integrity": "sha512-oOsR+ClQZ6hmuAD/fu9gpsGMuLY1xG7m5SE/PDY3ZL4n34dmoXqwhQ3AHT1NTE0Z0sH1th6UqpHeHPS1trMOXw==",
"version": "2.1319.0",
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1319.0.tgz",
"integrity": "sha512-/gPCVsCARitph9FmBTXZmzjX0Br8LwBfu2MTNPGjVCiZkEUSoUWAAigIWkvrjTWOXCI7TSElRwtCzlsVHdv5VA==",
"requires": {
"buffer": "4.9.2",
"events": "1.1.1",
+2 -3
View File
@@ -26,9 +26,8 @@
"homepage": "https://github.com/aws-actions/configure-aws-credentials#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"aws-sdk": "^2.1320.0",
"axios": "^1.3.3",
"https-proxy-agent": "^5.0.1"
"aws-sdk": "^2.1319.0",
"axios": "^1.3.3"
},
"devDependencies": {
"@vercel/ncc": "^0.36.1",