I am trying to make a deployment to the eks aws, this is my pipeline:
- step:
name: "Deploy to TEST"
deployment: test
script:
- pipe: atlassian/aws-eks-kubectl run:1.3.1
variables:
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
CLUSTER_NAME: "cluster-name"
KUBECTL_COMMAND: "apply"
RESOURCE_PATH: "file.yaml"
but I get this:
error: you must be logged in to the server (the server has asked for the client to provide credentials)
Please can you help me, I don't know what I'm doing wrong!