Replies: 1 comment
-
Using bash I saw |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use google terraform provider with Application Default Credentials (as opposed to service account credentials) ?
Dockerfile
:docker exec -it semaphore01 /bin/bash
:After this running a terraform
main.tf
:I can use inside the container
terraform init && terraform apply -auto-approve
from a temp folder with the file above and the instance is created in GCE (terraform destroy -auto-aprove
also delete the VM as expected)The output from semaphore task template run :
I am wondering under which user terraform is executed if this is not
semaphore
user or why terraform run by semaphore cannot find credendials that work as interactive userAs a note - using a service account works for me (using a volume to pass the service json account) - I am trying to see if users who don't have permissions to create a service account with required roles can just use their own GCP account
Beta Was this translation helpful? Give feedback.
All reactions