Skip to content

Commit

Permalink
add creds to install tools job
Browse files Browse the repository at this point in the history
  • Loading branch information
Oloruntobi Olurombi committed Aug 27, 2024
1 parent b69b1e9 commit c4b3675
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/eks-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ jobs:
needs: TerraformApply
steps:
- name: Install SSH Client
run: sudo apt-get update && sudo apt-get install -y sshpass
run: sudo apt-get update && sudo apt-get install -y sshpass
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}

- name: SSH and Install AWS CLI and kubectl
run: |
Expand All @@ -83,6 +87,10 @@ jobs:
kubectl version --client
aws eks update-kubeconfig --region ${{ secrets.AWS_REGION }} --name ${{ env.EKS_CLUSTER_NAME }}
EOF
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}



Expand Down

0 comments on commit c4b3675

Please sign in to comment.