You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform Cloud returns an error saying that aws-iam-authenticator binary is missing
We tried to add aws-iam-authenticator using a null-resource like this without any success :
resource "null_resource" "install_aws_iam_authenticator" {
# always recreate the config on the remote machine
triggers = {
always_run = timestamp()
}
provisioner "local-exec" {
command = <<-INSTALL_AWS_IAM_AUTH
curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator
chmod +x ./aws-iam-authenticator
export PATH=$PATH:${path.module} # that one does not actually add the module path to the PATH ...
echo $PATH
mv aws-iam-authenticator /usr/local/bin # that one fails ...
aws-iam-authenticator help
INSTALL_AWS_IAM_AUTH
}
}
We also tried to generate a kubeconfig using aws eks update-kubeconfig so that the kubeconfig uses aws CLI to perform authentication ... but the helmfile_release_set ressource keep returning an error saying that the aws profile (xxxx) is not present in the config file ... doing a cat on it show that the profile is present 😬 🤦
Do you have any idea on how to perform AWS EKS authentication through TerraformCloud ?
To me, the whole issue resides in the fact that helmfile provider does not asks for any kubernetes conf as the helm provider does 🤷♂️
provider "helm" {
kubernetes {
}
}
Thanks a lot for your help !
Let me know if I can help on anything 👍
The text was updated successfully, but these errors were encountered:
Hi !
We are trying to deploy some applications on a given EKS cluster using your helmfile provider through Terraform Cloud 👍
At this time, we did not succeed ...
Here is the tf code :
Here is the kubeconfig we are passing :
Terraform Cloud returns an error saying that
aws-iam-authenticator binary is missing
We tried to add
aws-iam-authenticator
using anull-resource
like this without any success :We also tried to generate a kubeconfig using
aws eks update-kubeconfig
so that the kubeconfig usesaws CLI
to perform authentication ... but thehelmfile_release_set
ressource keep returning an error saying thatthe aws profile (xxxx) is not present in the config file
... doing acat
on it show that the profile is present 😬 🤦Do you have any idea on how to perform AWS EKS authentication through TerraformCloud ?
To me, the whole issue resides in the fact that
helmfile
provider does not asks for anykubernetes
conf as thehelm
provider does 🤷♂️Thanks a lot for your help !
Let me know if I can help on anything 👍
The text was updated successfully, but these errors were encountered: