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
At one customer site, we install Terraform modules from private Git repositories using SSH. This requires the Git server’s SSH fingerprints to be present in the known_hosts file. Without this, Terraform fails to install the module via SSH, displaying the following error message:
╷
│ Error: Failed to download module
│
│ on main.tf line 1337:
│ 1337: module "example" {
│
│ Could not download module "example" (main.tf:1337) source code
│ from "git::ssh://[email protected]/cloudeteer/private-repository.git?ref=v1.1.1":
│ error downloading
│ 'ssh://[email protected]/cloudeteer/private-repository.git?ref=v1.1.1': /usr/bin/git
│ exited with 128: Cloning into '.terraform/modules/example'...
│ Host key verification failed.
│ fatal: Could not read from remote repository.
│
│ Please make sure you have the correct access rights
│ and the repository exists.
│
╵
Use Case
Enable the installation of Terraform modules via SSH during the terraform init execution, without the need to manually add SSH server fingerprints as a GitHub Actions step.
Feature Description
At one customer site, we install Terraform modules from private Git repositories using SSH. This requires the Git server’s SSH fingerprints to be present in the
known_hosts
file. Without this, Terraform fails to install the module via SSH, displaying the following error message:Use Case
Enable the installation of Terraform modules via SSH during the
terraform init
execution, without the need to manually add SSH server fingerprints as a GitHub Actions step.Additional Information
On the customer’s custom Launchpad installation, this is currently achieved by the following command in the install script.
Privacy Statement
Code of Conduct
The text was updated successfully, but these errors were encountered: