Skip to content

Commit 33bd7c4

Browse files
committed
add aws credentials for uploading to s3
1 parent 53c55ac commit 33bd7c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ jobs:
245245
with:
246246
name: aws-opentelemetry-java-layer.zip
247247
path: lambda-layer/build/distributions/aws-opentelemetry-java-layer.zip
248+
- name: Configure AWS Credentials
249+
uses: aws-actions/configure-aws-credentials@v4
250+
with:
251+
role-to-assume: arn:aws:iam::${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ACCOUNT_ID }}:role/${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ROLE_NAME }}
252+
aws-region: us-east-1
248253
- name: Upload layer zip to S3
249254
working-directory: lambda-layer
250255
run: |

0 commit comments

Comments
 (0)