Skip to content

Instantly share code, notes, and snippets.

@Mohitp98

Mohitp98/tf-log Secret

Created October 22, 2020 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mohitp98/7dedee2e75ff36c2f0414bfd833b48d9 to your computer and use it in GitHub Desktop.
Save Mohitp98/7dedee2e75ff36c2f0414bfd833b48d9 to your computer and use it in GitHub Desktop.
Terraform binary not able to detect inhouse plugins
2020/10/22 18:32:17 [INFO] Terraform version: 0.13.0
2020/10/22 18:32:17 [INFO] Go runtime version: go1.14.2
2020/10/22 18:32:17 [INFO] CLI args: []string{"/usr/bin/terraform", "init"}
2020/10/22 18:32:17 [DEBUG] Attempting to open CLI config file: /home/user/.terraformrc
2020/10/22 18:32:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/10/22 18:32:17 [DEBUG] checking for credentials in "/home/user/.terraform.d/plugins"
2020/10/22 18:32:17 [DEBUG] checking for credentials in "/home/user/.terraform.d/plugins/linux_amd64"
2020/10/22 18:32:17 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/10/22 18:32:17 [DEBUG] will search for provider plugins in /home/user/.terraform.d/plugins
2020/10/22 18:32:17 [DEBUG] ignoring non-existing provider search directory /home/user/.local/share/terraform/plugins
2020/10/22 18:32:17 [DEBUG] ignoring non-existing provider search directory /usr/share/ubuntu/terraform/plugins
2020/10/22 18:32:17 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2020/10/22 18:32:17 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2020/10/22 18:32:17 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins
2020/10/22 18:32:17 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2020/10/22 18:32:17 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2020/10/22 18:32:17 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2020/10/22 18:32:17 [DEBUG] New state was assigned lineage "568b0aec-3666-edae-f409-4b21a42be384"
2020/10/22 18:32:17 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2020/10/22 18:32:17 [TRACE] Meta.Backend: instantiated backend of type <nil>
2020/10/22 18:32:17 [DEBUG] checking for provisioner in "."
2020/10/22 18:32:17 [DEBUG] checking for provisioner in "/usr/bin"
2020/10/22 18:32:17 [DEBUG] checking for provisioner in "/home/user/.terraform.d/plugins"
2020/10/22 18:32:17 [DEBUG] checking for provisioner in "/home/user/.terraform.d/plugins/linux_amd64"
2020/10/22 18:32:17 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2020/10/22 18:32:17 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2020/10/22 18:32:17 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2020/10/22 18:32:17 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate
2020/10/22 18:32:17 [TRACE] statemgr.Filesystem: read snapshot with lineage "f4112e23-4435-05bd-b400-20c64cbdb4da" serial 8
2020/10/22 18:32:17 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins
2020/10/22 18:32:17 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2020/10/22 18:32:17 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json
Initializing provider plugins...
- Finding latest version of hashicorp/bigfix...
2020/10/22 18:32:18 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/bigfix/versions
2020/10/22 18:32:18 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/bigfix/versions
- Finding latest version of -/bigfix...
2020/10/22 18:32:19 [DEBUG] GET https://registry.terraform.io/v1/providers/-/bigfix/versions
2020/10/22 18:32:19 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/-/bigfix/versions
2020/10/22 18:32:20 [DEBUG] GET https://registry.terraform.io/v1/providers/-/bigfix/versions
2020/10/22 18:32:20 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/-/bigfix/versions
Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider -/bigfix:
provider registry registry.terraform.io does not have a provider named
registry.terraform.io/-/bigfix
Error: Failed to install provider
Error while installing hashicorp/bigfix: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/bigfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment