From f3fba5d770889a3f13949aca5d54b8702ee51700 Mon Sep 17 00:00:00 2001 From: Mike Houston Date: Tue, 21 May 2024 14:51:38 +0100 Subject: [PATCH] Fix display of environment --- .github/workflows/cicd-3-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd-3-deploy.yaml b/.github/workflows/cicd-3-deploy.yaml index 81fd3ae..e43f138 100644 --- a/.github/workflows/cicd-3-deploy.yaml +++ b/.github/workflows/cicd-3-deploy.yaml @@ -69,12 +69,12 @@ jobs: uses: aws-actions/configure-aws-credentials@v3 with: role-to-assume: ${{ secrets.AWS_DEPLOY_ROLE }} - role-session-name: deploy_${{ env.environment }} + role-session-name: deploy_${{ inputs.environment }} aws-region: ${{ vars.AWS_REGION }} - name: List S3 buckets run: | - echo "Deploying to ${environment}" + echo "Deploying to ${{inputs.environment}}" echo "TODO Run terraform here" # TODO: More jobs or/and steps here # success: