Run kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/deployment.yaml kubectl apply -f eks/service.yaml shell: /usr/bin/bash -e {0} env: AWS_DEFAULT_REGION: ap-southeast-1 AWS_REGION: ap-southeast-1 AWS_ACCESS_KEY_ID: *** AWS_SECRET_ACCESS_KEY: *** The connection to the server localhost:8080 was refused - did you specify the right host or port?
To fix this issue, add below step just before the failed step:
- name: Update kube config run: aws eks update-kubeconfig --name zimple-bank --region ap-southeast-1