Skip to content

Commit

Permalink
fix: reference of access keys between CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmanciop committed Nov 8, 2023
1 parent d86656c commit b9e5ce3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
validation_api_apigateway_name: ${{ steps.parse_cdk_output.outputs.api_gateway_name }}
validation_api_apigateway_url: ${{ steps.parse_cdk_output.outputs.api_gateway_url }}\
validation_api_apigateway_key_id: ${{ steps.parse_cdk_output.outputs.api_gateway_key_id }}
api_access_key: ${{ steps.select_credentials.outputs.aws_access_key }}
api_secret_access_key: ${{ steps.select_credentials.outputs.aws_secret_access_key }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -163,8 +165,8 @@ jobs:
shell: bash
working-directory: packages/otelbin-validation
env:
AWS_ACCESS_KEY_ID: ${{ steps.select_credentials.outputs.aws_access_key }}
AWS_SECRET_ACCESS_KEY: ${{ steps.select_credentials.outputs.aws_secret_access_key }}
AWS_ACCESS_KEY_ID: ${{ needs.prep-itests.outputs.api_access_key }}
AWS_SECRET_ACCESS_KEY: ${{ needs.prep-itests.outputs.aws_secret_access_key }}
AWS_DEFAULT_REGION: 'us-east-2'
API_GATEWAY_NAME: ${{ needs.prep-itests.outputs.validation_api_apigateway_name }}
API_GATEWAY_URL: ${{ needs.prep-itests.outputs.validation_api_apigateway_url }}
Expand Down

0 comments on commit b9e5ce3

Please sign in to comment.