Terraform ssh_private_key issue
Summary
Terraform ssh_private_key issueContent
Hi Folks,
I am using BMCS Terraform provider, and have an issue with running remote-exec. Specifically - the error that is generated:
Error applying plan:
1 error(s) occurred:
* null_resource.remote-exec: 1 error(s) occurred:
* Failed to read key "dhfgrt.. (truncated by author)": no key found
The above error is generated by applying single_instance example available at github: https://github.com/oracle/terraform-provider-baremetal/tree/master/docs/examples/compute/single_instance
It appears that remote-exec.tf is referring to private_key = "${var.ssh_private_key} which is defined in variables.tf as variable ssh_private_key {}.
1