Skip to content

Commit 1e75daa

Browse files
committed
add region to aws credential step
1 parent 2257305 commit 1e75daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-to-eks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: aws-actions/configure-aws-credentials@v2
3131
with:
3232
role-to-assume: ${{ secrets.GH_ACTIONS_ROLE }}
33-
aws-region: ${{ secrets.AWS_REGION }}
33+
aws-region: ${{ env.AWS_REGION }}
3434

3535
- name: Update kube config
3636
run: aws eks update-kubeconfig --name ${{ env.EKS_CLUSTER_NAME }} --region ${{ env.AWS_REGION }}

0 commit comments

Comments
 (0)