Created
January 9, 2018 12:32
-
-
Save dcarley/cc6ec3cbcf115d1cee4a7b55d1adcb84 to your computer and use it in GitHub Desktop.
Terraform TF_PLUGIN_CACHE_DIR issue
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
➜ terraform git:(a42fdb08a) ✗ TF_LOG=trace terraform init | |
2018/01/09 12:31:46 [INFO] Terraform version: 0.11.1 | |
2018/01/09 12:31:46 [INFO] Go runtime version: go1.9.2 | |
2018/01/09 12:31:46 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.1/bin/terraform", "init"} | |
2018/01/09 12:31:46 [DEBUG] Attempting to open CLI config file: /Users/dcarley/.terraformrc | |
2018/01/09 12:31:46 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/01/09 12:31:46 [INFO] CLI command args: []string{"init"} | |
2018/01/09 12:31:46 [DEBUG] command: loading backend config file: /Users/dcarley/projects/gocode/src/github.com/hashicorp/terraform | |
2018/01/09 12:31:46 [INFO] command: empty terraform config, returning nil | |
2018/01/09 12:31:46 [DEBUG] command: no data state file found for backend config | |
2018/01/09 12:31:46 [DEBUG] New state was assigned lineage "c06b607b-b701-4cd9-9942-80208624860b" | |
2018/01/09 12:31:46 [INFO] command: backend initialized: <nil> | |
2018/01/09 12:31:46 [DEBUG] checking for provider in "." | |
2018/01/09 12:31:46 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.1/bin" | |
2018/01/09 12:31:46 [DEBUG] checking for provisioner in "." | |
2018/01/09 12:31:46 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.11.1/bin" | |
2018/01/09 12:31:46 [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 | |
2018/01/09 12:31:46 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
2018/01/09 12:31:46 [DEBUG] checking for provider in "." | |
2018/01/09 12:31:46 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.1/bin" | |
2018/01/09 12:31:46 [DEBUG] plugin requirements: "aws"="" | |
Initializing provider plugins... | |
- Checking for available provider plugins on https://releases.hashicorp.com... | |
2018/01/09 12:31:46 [DEBUG] fetching provider info for aws version 1.6.0 | |
2018/01/09 12:31:46 [DEBUG] getting provider "aws" version "1.6.0" | |
2018/01/09 12:31:46 [DEBUG] looking for provider aws 1.6.0 in plugin cache | |
- Downloading plugin for provider "aws" (1.6.0)... | |
2018/01/09 12:31:46 [DEBUG] checking for provider in ".terraform-cache/darwin_amd64" | |
2018/01/09 12:31:46 [DEBUG] found provider "terraform-provider-aws_v1.6.0_x4" | |
2018/01/09 12:31:46 [DEBUG] installing aws 1.6.0 to .terraform/plugins/darwin_amd64/terraform-provider-aws_v1.6.0_x4 from local cache /Users/dcarley/projects/gocode/src/github.com/hashicorp/terraform/.terraform-cache/darwin_amd64/terraform-provider-aws_v1.6.0_x4 | |
2018/01/09 12:31:46 [DEBUG] looking for the aws 1.6.0 plugin we just installed | |
2018/01/09 12:31:46 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2018/01/09 12:31:46 [DEBUG] found provider "terraform-provider-aws_v1.6.0_x4" | |
2018/01/09 12:31:46 [DEBUG] all plugins found discovery.PluginMetaSet{discovery.PluginMeta{Name:"aws", Version:"1.6.0", Path:"/Users/dcarley/projects/gocode/src/github.com/hashicorp/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.6.0_x4"}:struct {}{}} | |
2018/01/09 12:31:46 [DEBUG] filtered plugins discovery.PluginMetaSet{discovery.PluginMeta{Name:"aws", Version:"1.6.0", Path:"/Users/dcarley/projects/gocode/src/github.com/hashicorp/terraform/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.6.0_x4"}:struct {}{}} | |
2018/01/09 12:31:46 [DEBUG] checking for provider in "." | |
2018/01/09 12:31:46 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.1/bin" | |
2018/01/09 12:31:46 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2018/01/09 12:31:46 [DEBUG] found provider "terraform-provider-aws_v1.6.0_x4" | |
2018/01/09 12:31:46 [DEBUG] found valid plugin: "aws" | |
2018/01/09 12:31:47 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2018/01/09 12:31:47 [DEBUG] found provider "terraform-provider-aws_v1.6.0_x4" | |
The following providers do not have any version constraints in configuration, | |
2018/01/09 12:31:47 [DEBUG] plugin: waiting for all plugin processes to complete... | |
so the latest version was installed. | |
To prevent automatic upgrades to new major versions that may contain breaking | |
changes, it is recommended to add version = "..." constraints to the | |
corresponding provider blocks in configuration, with the constraint strings | |
suggested below. | |
* provider.aws: version = "~> 1.6" | |
Terraform has been successfully initialized! | |
You may now begin working with Terraform. Try running "terraform plan" to see | |
any changes that are required for your infrastructure. All Terraform commands | |
should now work. | |
If you ever set or change modules or backend configuration for Terraform, | |
rerun this command to reinitialize your working directory. If you forget, other | |
commands will detect it and remind you to do so if necessary. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment