Closed jbhfenris closed 2 years ago
NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04"
Using terraform integration within Gitlab-ci (v14.1.8) and Gitlab runners
registry.gitlab.com/gitlab-org/terraform-images/stable:latest
0.6.14
Crash at terraform plan stage when using gitlab-terraform feature with libvirt plugin :
gitlab-terraform plan Initializing modules... Initializing the backend... Initializing provider plugins...
provider.tf file
provider "libvirt" {
uri = "qemu+ssh://IP ADDRESS/system?keyfile=/root/.ssh/ssh_priv&sshauth=privkey" }
Private ssh key have been provisioned with a before_script entry just before calling the "plan" command
Not an issue. Problem of copy ssh private key at the correct format on the gitlab-ci runner.
System Information
NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.3 LTS" VERSION_ID="20.04"
Terraform version
Using terraform integration within Gitlab-ci (v14.1.8) and Gitlab runners
registry.gitlab.com/gitlab-org/terraform-images/stable:latest
Provider and libvirt versions
0.6.14
Description of Issue/Question
Crash at terraform plan stage when using gitlab-terraform feature with libvirt plugin :
gitlab-terraform plan Initializing modules... Initializing the backend... Initializing provider plugins...
Setup
provider.tf file
provider "libvirt" {
uri = "qemu:///system"
uri = "qemu+ssh://IP ADDRESS/system?keyfile=/root/.ssh/ssh_priv&sshauth=privkey" }
Private ssh key have been provisioned with a before_script entry just before calling the "plan" command