[Question/Bug] Certificate Authentication Error [Terraform Provider] [Teleport Cluster inside Kubernetes Cluster]
undefinedhuman opened this issue · 0 comments
Description
What happened:
I have a pretty straightforward Teleport setup, Cluster installed via helm in a remote kubernetes cluster, everything works as expected. I now want to execute the basic terraform example from the documentation: https://goteleport.com/docs/management/guides/terraform-provider/?scope=enterprise
When I execute terraform apply at the end it gives me the following error:
│ Terraform user is missing on the Teleport side. Check that your auth credentials (certs) specified in provider configuration belong to
│ existing user and are not expired.
│ access denied to perform action "read" on "user"
What you expected to happen:
terraform apply should successfully execute
Reproduction Steps:
Setup everything according to
Create the terraform role + user
Create the signed certificate inside the teleport port and copy it locally
Execute terraform apply
Server Details
Teleport version (run teleport version): Teleport v11.2.1 git:api/v11.2.1-0-g999ff61 go1.19.5
Server OS (e.g. from /etc/os-release): Kubernetes 1.24
Where are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): Kubernetes in Azure
Client Details
kubectl: v1.26.0
Teleport: v11.2.1
Thank you very much in advance! Any help would be appreciated!