Created
July 24, 2020 18:20
-
-
Save igungor/5553dae1e2010df15b214662a3abbbde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Δ uname | |
Darwin | |
Δ tf version | |
Terraform v0.13.0-rc1 | |
Δ tree | |
. | |
├── database.tf | |
├── modules | |
│ ├── database | |
│ │ ├── main.tf | |
│ │ └── variables.tf | |
│ ├── main.tf | |
│ ├── role | |
│ │ ├── main.tf | |
│ │ └── variables.tf | |
│ ├── schema | |
│ │ ├── main.tf | |
│ │ └── variables.tf | |
│ ├── user | |
│ │ ├── main.tf | |
│ │ └── variables.tf | |
│ └── warehouse | |
│ ├── main.tf | |
│ └── variables.tf | |
├── provider.tf | |
├── role.tf | |
├── schema.tf | |
├── terraform.tfstate | |
├── user.tf | |
├── versions.tf | |
└── warehouse.tf | |
6 directories, 19 files | |
Δ cat versions.tf | |
terraform { | |
required_version = ">= 0.13" | |
required_providers { | |
snowflake = { | |
source = "registry.example.com/peak/snowflake" | |
version = ">= 0.13.2" | |
} | |
} | |
} | |
Δ ~/.terraform.d/plugins/registry.example.com/peak/snowflake/0.13.2/darwin_amd64/terraform-provider-snowflake_v0.13.2 -version | |
0.13.2 | |
Δ TF_LOG=trace tf init | |
2020/07/24 21:08:57 [INFO] Terraform version: 0.13.0 rc1 | |
2020/07/24 21:08:57 [INFO] Go runtime version: go1.14.2 | |
2020/07/24 21:08:57 [INFO] CLI args: []string{"/Users/ibrahim/bin/terraform", "init"} | |
2020/07/24 21:08:57 [DEBUG] Attempting to open CLI config file: /Users/ibrahim/.terraformrc | |
2020/07/24 21:08:57 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/07/24 21:08:57 [DEBUG] checking for credentials in "/Users/ibrahim/.terraform.d/plugins" | |
2020/07/24 21:08:57 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/07/24 21:08:57 [DEBUG] will search for provider plugins in /Users/ibrahim/.terraform.d/plugins | |
2020/07/24 21:08:57 [TRACE] getproviders.SearchLocalDirectory: found registry.example.com/peak/snowflake v0.13.2 for darwin_amd64 at /Users/ibrahim/.terraform.d/plugins/registry.example.com/peak/snowflake/0.13.2/darwin_amd64 | |
2020/07/24 21:08:57 [DEBUG] ignoring non-existing provider search directory /Users/ibrahim/Library/Application Support/io.terraform/plugins | |
2020/07/24 21:08:57 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins | |
2020/07/24 21:08:57 [INFO] CLI command args: []string{"init"} | |
Initializing modules... | |
2020/07/24 21:08:57 [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules | |
... | |
Initializing the backend... | |
2020/07/24 21:08:57 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2020/07/24 21:08:57 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2020/07/24 21:08:57 [DEBUG] New state was assigned lineage "2bcfb0c0-f451-6102-1a1c-27c3f55ce8b8" | |
2020/07/24 21:08:57 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) | |
2020/07/24 21:08:57 [TRACE] Meta.Backend: instantiated backend of type <nil> | |
2020/07/24 21:08:57 [DEBUG] checking for provisioner in "." | |
2020/07/24 21:08:57 [DEBUG] checking for provisioner in "/Users/ibrahim/bin" | |
2020/07/24 21:08:57 [DEBUG] checking for provisioner in "/Users/ibrahim/.terraform.d/plugins" | |
2020/07/24 21:08:57 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory | |
2020/07/24 21:08:57 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend | |
2020/07/24 21:08:57 [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/07/24 21:08:57 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate | |
2020/07/24 21:08:57 [TRACE] statemgr.Filesystem: read snapshot with lineage "aa7bebc9-0786-5c4a-0afd-581d4d007ac4" serial 727 | |
2020/07/24 21:08:57 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins | |
2020/07/24 21:08:57 [TRACE] providercache.fillMetaCache: error while scanning directory .terraform/plugins: cannot search .terraform/plugins: lstat .terraform/plugins: no such file or directory | |
2020/07/24 21:08:57 [WARN] Failed to scan provider cache directory .terraform/plugins: cannot search .terraform/plugins: lstat .terraform/plugins: no such file or directory | |
Initializing provider plugins... | |
2020/07/24 21:08:57 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json | |
2020/07/24 21:08:57 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json | |
- Finding registry.example.com/peak/snowflake versions matching ">= 0.13.2"... | |
- Finding latest version of hashicorp/snowflake... | |
2020/07/24 21:08:57 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/snowflake/versions | |
2020/07/24 21:08:57 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/snowflake/versions | |
2020/07/24 21:08:58 [TRACE] providercache.Dir.InstallPackage: installing registry.example.com/peak/snowflake v0.13.2 from /Users/ibrahim/.terraform.d/plugins/registry.example.com/peak/snowflake/0.13.2/darwin_amd64 | |
- Installing registry.example.com/peak/snowflake v0.13.2... | |
2020/07/24 21:08:58 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins | |
2020/07/24 21:08:58 [TRACE] getproviders.SearchLocalDirectory: found registry.example.com/peak/snowflake v0.13.2 for darwin_amd64 at .terraform/plugins/registry.example.com/peak/snowflake/0.13.2/darwin_amd64 | |
2020/07/24 21:08:58 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.example.com/peak/snowflake/0.13.2/darwin_amd64 as a candidate package for registry.example.com/peak/snowflake 0.13.2 | |
2020/07/24 21:08:58 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
- Installed registry.example.com/peak/snowflake v0.13.2 (unauthenticated) | |
2020/07/24 21:08:58 [DEBUG] GET https://registry.terraform.io/v1/providers/-/snowflake/versions | |
2020/07/24 21:08:58 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/-/snowflake/versions | |
Error: Failed to install provider | |
Error while installing hashicorp/snowflake: provider registry | |
registry.terraform.io does not have a provider named | |
registry.terraform.io/hashicorp/snowflake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment