Skip to content

Instantly share code, notes, and snippets.

@jlsan92
Last active September 25, 2020 10:03
Show Gist options
  • Save jlsan92/9c615cce4cc74db1b75bc20ccba39b61 to your computer and use it in GitHub Desktop.
Save jlsan92/9c615cce4cc74db1b75bc20ccba39b61 to your computer and use it in GitHub Desktop.
Provider cannot be instantiated - permission denied - debug output
TF_LOG=DEBUG terraform plan
2020/09/25 09:58:58 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/09/25 09:58:58 [INFO] Terraform version: 0.12.29
2020/09/25 09:58:58 [INFO] Go runtime version: go1.12.13
2020/09/25 09:58:58 [INFO] CLI args: []string{"/usr/bin/terraform", "plan"}
2020/09/25 09:58:58 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2020/09/25 09:58:58 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/09/25 09:58:58 [DEBUG] checking for credentials in "/root/.terraform.d/plugins"
2020/09/25 09:58:58 [DEBUG] checking for credentials in "/root/.terraform.d/plugins/linux_amd64"
2020/09/25 09:58:58 [INFO] CLI command args: []string{"plan"}
2020/09/25 09:58:58 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/09/25 09:58:58 [DEBUG] New state was assigned lineage "106f0368-1e75-cc21-2746-ebf29ca526a1"
2020/09/25 09:58:58 [DEBUG] checking for provider in "."
2020/09/25 09:58:58 [DEBUG] checking for provider in "/usr/bin"
2020/09/25 09:58:58 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2020/09/25 09:58:58 [DEBUG] checking for provider in "/root/.terraform.d/plugins"
2020/09/25 09:58:58 [DEBUG] checking for provider in "/root/.terraform.d/plugins/linux_amd64"
2020/09/25 09:58:58 [WARN] found legacy provider "terraform-provider-pact"
2020/09/25 09:58:58 [DEBUG] found valid plugin: "pact", "0.0.0", "/root/.terraform.d/plugins/linux_amd64/terraform-provider-pact"
2020/09/25 09:58:58 [DEBUG] checking for provisioner in "."
2020/09/25 09:58:58 [DEBUG] checking for provisioner in "/usr/bin"
2020/09/25 09:58:58 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2020/09/25 09:58:58 [DEBUG] checking for provisioner in "/root/.terraform.d/plugins"
2020/09/25 09:58:58 [DEBUG] checking for provisioner in "/root/.terraform.d/plugins/linux_amd64"
2020/09/25 09:58:58 [INFO] backend/local: starting Plan operation
2020-09-25T09:58:58.227Z [INFO] plugin: configuring client automatic mTLS
2020-09-25T09:58:58.257Z [DEBUG] plugin: starting plugin: path=/root/.terraform.d/plugins/linux_amd64/terraform-provider-pact args=[/root/.terraform.d/plugins/linux_amd64/terraform-provider-pact]
Error: Failed to instantiate provider "pact" to obtain schema: fork/exec /root/.terraform.d/plugins/linux_amd64/terraform-provider-pact: permission denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment