diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 525f0da8..e912798d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 }}