-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Version 1.6.0 - Host Key Verification Failed when using git ssh #33986
Comments
Having the same issue. Using Terraform Cloud and don't believe we use GIT_SSH_COMMAND. |
Hey @jbardin . Yes tried with the GIT_SSH_COMMAND by supplying the path of SSH key Add-on for Terraform Cloud, since the terraform version was set on "latest", when v1.6.0 was release, the workspace failed to be planned with the same error, had to roll it back to v1.5.7 for it to work. Regards. |
Terraform Cloud's execution environment uses |
+1 seeing this issue with Terraform Cloud workspaces using "latest" for Terraform version. Rollback to 1.5.7 fixes |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Terraform Init should execute successfully and download the necessary modules from the private repository through git ssh.
Actual Behavior
SSH Keys were not modified and still active, but terraform init returned with "could not read from remote repository"
Steps to Reproduce
terraform init
Additional Context
Rollbacked version to terraform v1.5.7 with all config staying intact, no changes introduced to all config files. the
terraform init
command can be executed successfully and modules have been installed as expected. Using v1.6.0 will result in the above mentioned issue.References
No response
The text was updated successfully, but these errors were encountered: