Skip to content

Commit

Permalink
Chore: [AEA-0000] - fix AWS session name in github actions (#1497)
Browse files Browse the repository at this point in the history
## Summary

- Routine Change

### Details

-  fix AWS session name in github actions
  • Loading branch information
anthony-nhs authored Nov 28, 2024
1 parent 2d94be3 commit 781313f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/mark_jira_released/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: aws-pfp-release-notes-run-lambda

- name: call markJiraReleased lambda
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/update_confluence_jira/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: aws-pfp-release-notes-target

- name: Get deployed tag on target
shell: bash
Expand All @@ -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: aws-pfp-release-notes-dev

- name: get current dev tag
shell: bash
Expand All @@ -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: aws-pfp-release-notes-run-lambda
unset-current-credentials: true

- name: create int release notes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete_old_cloudformation_stacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: aws-pfp-delete-old-stacks

- name: delete stacks
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sam_release_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
with:
aws-region: eu-west-2
role-to-assume: ${{ secrets.CLOUD_FORMATION_DEPLOY_ROLE }}
role-session-name: github-actions
role-session-name: aws-pfp-release-code

- name: download build artifact
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 781313f

Please sign in to comment.