`terraform plan` fails if oracle private key has a password
saywebsolutions opened this issue · 1 comments
saywebsolutions commented
terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Error: can not create client, bad configuration: did not find a proper configuration for private key
on main.tf line 1, in provider "oci":
1: provider "oci" {
I'd suggest adding support for an optional oracle_api_private_key_password
in terraform.tfvars
that's mapped to private_key_password = var.oracle_api_private_key_password
in main.tf
IGitYou commented
I think I have seen a similar issue that I had to work around by dropping the PW. I anticipated digging into this issue for more details after I was able to get it running PWless.. Removing the PW certainly enabled massive progression but I have yet to run free and clear yet and have not been dedicated to this investigation as a result.