I've seen a couple posts related to cloud-automation setup but they haven't addressed my specific issue so I hope this isn't a duplicate.
I'm following the instructions from csoc-free-commons-steps.md (very nice btw!) and get an error when trying to deploy the kubernetes cluster.
The AdminVM finished successfully and I've modified the EKS config.tfvars per the instructions. I then ran plan and apply and get this error at the end:
module.eks.null_resource.config_setup (local-exec): Unable to connect to the server: getting credentials: exec: exit status 1
Error: Error applying plan:
1 error occurred:
* module.eks.null_resource.config_setup: Error running command 'bash fsp-commons-test_output_EKS/init_cluster.sh': exit status 1. Output: could not get token: could not create session: CredentialRequiresARNError: credential type credential_source requires role_arn, profile cdistest
Presumably, this relates to my .aws/config file, which has the cdistest profile. It's true that there is no role_arn param in the file and I don't know what role I would put in there.
How can I troubleshoot this?