From 7ded89da8d3cb458e782f4e832a26f1ed4f8b046 Mon Sep 17 00:00:00 2001 From: Anthony Brown <121869075+anthony-nhs@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:08:10 +0000 Subject: [PATCH] fix session name --- .github/actions/mark_jira_released/action.yml | 2 +- .github/actions/update_confluence_jira/action.yml | 6 +++--- .github/workflows/delete_old_cloudformation_stacks.yml | 2 +- .github/workflows/sam_release_code.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/mark_jira_released/action.yml b/.github/actions/mark_jira_released/action.yml index 1b7826f9..62a9348c 100644 --- a/.github/actions/mark_jira_released/action.yml +++ b/.github/actions/mark_jira_released/action.yml @@ -16,7 +16,7 @@ runs: with: aws-region: eu-west-2 role-to-assume: ${{ inputs.DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE }} - role-session-name: account-resources-release-notes-run-lambda + role-session-name: fhir-validator-lambda-release-notes-run-lambda - name: call markJiraReleased lambda shell: bash diff --git a/.github/actions/update_confluence_jira/action.yml b/.github/actions/update_confluence_jira/action.yml index e9e3314d..3d1a91ba 100644 --- a/.github/actions/update_confluence_jira/action.yml +++ b/.github/actions/update_confluence_jira/action.yml @@ -32,7 +32,7 @@ runs: with: aws-region: eu-west-2 role-to-assume: ${{ inputs.TARGET_CLOUD_FORMATION_CHECK_VERSION_ROLE }} - role-session-name: account-resources-release-notes-target + role-session-name: fhir-validator-lambda-release-notes-target - name: Get deployed tag on target shell: bash @@ -46,7 +46,7 @@ runs: with: aws-region: eu-west-2 role-to-assume: ${{ inputs.DEV_CLOUD_FORMATION_CHECK_VERSION_ROLE }} - role-session-name: account-resources-release-notes-dev + role-session-name: fhir-validator-lambda-release-notes-dev - name: get current dev tag shell: bash @@ -58,7 +58,7 @@ runs: with: aws-region: eu-west-2 role-to-assume: ${{ inputs.DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE }} - role-session-name: account-resources-release-notes-run-lambda + role-session-name: fhir-validator-lambda-release-notes-run-lambda unset-current-credentials: true - name: create int release notes diff --git a/.github/workflows/delete_old_cloudformation_stacks.yml b/.github/workflows/delete_old_cloudformation_stacks.yml index 7605e5dc..1b6740e4 100644 --- a/.github/workflows/delete_old_cloudformation_stacks.yml +++ b/.github/workflows/delete_old_cloudformation_stacks.yml @@ -30,7 +30,7 @@ jobs: with: aws-region: eu-west-2 role-to-assume: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }} - role-session-name: github-actions + role-session-name: fhir-validator-lambda-delete-old-stacks - name: delete stacks shell: bash diff --git a/.github/workflows/sam_release_code.yml b/.github/workflows/sam_release_code.yml index 117f62f4..c91df7be 100644 --- a/.github/workflows/sam_release_code.yml +++ b/.github/workflows/sam_release_code.yml @@ -88,7 +88,7 @@ jobs: with: aws-region: eu-west-2 role-to-assume: ${{ secrets.CLOUD_FORMATION_DEPLOY_ROLE }} - role-session-name: github-actions + role-session-name: fhir-validator-lambda-release-code - name: download build artifact uses: actions/download-artifact@v4