From 249dbbaa8d3858023d2de6657c78fcf69a9cc68b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 13 Jun 2024 12:16:54 +0200 Subject: [PATCH] feat(aws-lambda): apm-agent-java (#3680) --- .github/workflows/release-step-3.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-step-3.yml b/.github/workflows/release-step-3.yml index 6e671d1b56..442a430805 100644 --- a/.github/workflows/release-step-3.yml +++ b/.github/workflows/release-step-3.yml @@ -162,6 +162,9 @@ jobs: # Random region. This needs to be set in GH Actions or the usage of aws-cli will fail. # The default region does not matter, since we are publishing in all regions. AWS_DEFAULT_REGION: eu-west-1 + # TODO: use keyless + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: - uses: actions/checkout@v4 with: @@ -170,15 +173,7 @@ jobs: uses: ./.github/workflows/maven-goal with: command: ./mvnw dependency:purge-local-repository package -pl apm-agent-lambda-layer - - uses: hashicorp/vault-action@v3.0.0 - with: - url: ${{ secrets.VAULT_ADDR }} - method: approle - roleId: ${{ secrets.VAULT_ROLE_ID }} - secretId: ${{ secrets.VAULT_SECRET_ID }} - secrets: | - secret/observability-team/ci/service-account/apm-aws-lambda access_key_id | AWS_ACCESS_KEY_ID ; - secret/observability-team/ci/service-account/apm-aws-lambda secret_access_key | AWS_SECRET_ACCESS_KEY + - name: Publish if: ${{ ! inputs.dry_run }} run: |