Skip to content

Commit 120d45e

Browse files
author
Somnath Mukherjee
committed
added echo
1 parent 634d61f commit 120d45e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@ jobs:
6969
uat) echo "ACCOUNT_ID=${{ secrets.AWS_ACCOUNT_ID_UAT }}" >> $GITHUB_ENV ;;
7070
prod) echo "ACCOUNT_ID=${{ secrets.AWS_ACCOUNT_ID_PROD }}" >> $GITHUB_ENV ;;
7171
esac
72+
echo "Account ID - ${{ env.ACCOUNT_ID }}"
7273
7374
- name: Configure AWS credentials using OIDC token
7475
uses: aws-actions/configure-aws-credentials@v4
7576
with:
7677
role-to-assume: arn:aws:iam::${{ env.ACCOUNT_ID }}:role/GitHubActionsDeployRole
7778
role-session-name: menu-get-svc-${{ env.ENVIRONMENT }}-session
7879
aws-region: ${{ env.REGION_US_EAST1 }}
80+
run: echo "Account ID - ${{ env.ACCOUNT_ID }}"
7981

8082
- name: Build app
8183
run: sam build

0 commit comments

Comments
 (0)