Skip to content

Commit

Permalink
Chore: [AEA-0000] - fix AWS session name in github actions (#677)
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 1cca21a commit 69548f6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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: cpt-api-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: cpt-api-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: cpt-api-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: cpt-api-release-notes-run-lambda
unset-current-credentials: true

- name: create int release notes
Expand Down
4 changes: 2 additions & 2 deletions .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: cpt-api-delete-old-stacks

- name: delete stacks
shell: bash
Expand All @@ -57,7 +57,7 @@ jobs:
with:
aws-region: eu-west-2
role-to-assume: ${{ secrets.PROXYGEN_PTL_ROLE }}
role-session-name: delete-old-proxygen
role-session-name: cpt-api-delete-old-proxygen

- name: delete proxygen deployments
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_release_code_and_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
with:
aws-region: eu-west-2
role-to-assume: ${{ secrets.CLOUD_FORMATION_DEPLOY_ROLE }}
role-session-name: github-actions
role-session-name: cpt-api-release-code

- name: Download build artifact
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
with:
aws-region: eu-west-2
role-to-assume: ${{ secrets.PROXYGEN_ROLE }}
role-session-name: proxygen-ptl
role-session-name: cpt-api-proxygen

- name: Deploy CPT API
shell: bash
Expand Down

0 comments on commit 69548f6

Please sign in to comment.