-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment fails with Terraform Cloud #1172
Comments
I have this issue when trying to deploy to gcp at present. Symptoms; Timeouts when copying secrets for the controller.
Seems maybe to be an issue with the ssh agent. @dghubble wonder if its work allowing the user to pass in the ssh key path? Looks like it could be done in the;
What do you think to including the variables;
as optional inputs for users? Unfortunately this is kind of blocking me a little bit. I believe there are probly a couple of fixes here on a host level however; A) set the ssh-agent to use the correct identity. (Will update if i figure this out) B) do some kind of hack to get the initial state. I dont suppose you have seen this issue before? |
The usual thing to do is configure ssh-agent to know about your SSH keys. It's flexible and works whether you use Yubikeys or private keys on disk, and avoids needing to hardcode paths. It's a main purpose of ssh-agent. |
When deploying a cluster following this guide using Terraform Cloud in Remote Execution Mode, the run fails with the following error:
This is implied by the ssh-agent part of the guide, but since it's not explicitly called out (and the guide is otherwise quite fleshed out) I had a go and.. yup, not gonna work without that key 😅
I'm gonna have a go and see if there's any way to make this work - based on the results I can propose a PR for the guide.
The text was updated successfully, but these errors were encountered: