Skip to content

Instantly share code, notes, and snippets.

@jeffwecan
Created June 5, 2020 16:26
Show Gist options
  • Save jeffwecan/381d8d141d5cdde5c4310e533d42d32e to your computer and use it in GitHub Desktop.
Save jeffwecan/381d8d141d5cdde5c4310e533d42d32e to your computer and use it in GitHub Desktop.
running 0.13 init after state rm
$ terraform init
2020/06/05 11:24:17 [INFO] Terraform version: 0.13.0 beta1
2020/06/05 11:24:17 [INFO] Go runtime version: go1.14.2
2020/06/05 11:24:17 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1/terraform", "init"}
2020/06/05 11:24:17 [DEBUG] Attempting to open CLI config file: /Users/jeffwecan/.terraformrc
2020/06/05 11:24:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/06/05 11:24:17 Loading CLI configuration from /Users/jeffwecan/.terraform.d/credentials.tfrc.json
2020/06/05 11:24:17 [DEBUG] checking for credentials in "/Users/jeffwecan/.terraform.d/plugins"
2020/06/05 11:24:17 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/06/05 11:24:17 [DEBUG] ignoring non-existing provider search directory /Users/jeffwecan/Library/Application Support/io.terraform/plugins
2020/06/05 11:24:17 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2020/06/05 11:24:17 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2020/06/05 11:24:17 [TRACE] Meta.Backend: built configuration for "remote" backend with hash value 4197443268
2020/06/05 11:24:17 [TRACE] Preserving existing state lineage "937b26e3-3c72-a019-2f98-5ab4120bec98"
2020/06/05 11:24:17 [TRACE] Preserving existing state lineage "937b26e3-3c72-a019-2f98-5ab4120bec98"
2020/06/05 11:24:17 [TRACE] Meta.Backend: working directory was previously initialized for "remote" backend
2020/06/05 11:24:17 [TRACE] Meta.Backend: using already-initialized, unchanged "remote" backend configuration
2020/06/05 11:24:17 [DEBUG] Service discovery for tfe.hashicorp.engineering at https://tfe.hashicorp.engineering/.well-known/terraform.json
2020/06/05 11:24:17 [TRACE] HTTP client GET request to https://tfe.hashicorp.engineering/.well-known/terraform.json
2020/06/05 11:24:17 [DEBUG] Retrieve version constraints for service tfe.v2.1 and product terraform
2020/06/05 11:24:17 [TRACE] HTTP client GET request to https://checkpoint-api.hashicorp.com/v1/versions/tfe.v2.1?product=terraform
2020/06/05 11:24:18 [TRACE] Meta.Backend: instantiated backend of type *remote.Remote
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/acme v1.5.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/acme/1.5.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/archive v1.3.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/archive/1.3.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/aws v2.65.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/aws/2.65.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/random v2.2.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/random/2.2.1/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/tls v2.1.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/tls/2.1.1/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/archive v1.3.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/archive/1.3.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/aws v2.65.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/aws/2.65.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v2.1.2 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/null/2.1.2/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v2.2.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/random/2.2.1/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/template v2.1.2 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/template/2.1.2/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tfe v0.18.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/tfe/0.18.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v2.1.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/tls/2.1.1/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/jeffwecan/pypi v0.0.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/jeffwecan/pypi/0.0.1/darwin_amd64
2020/06/05 11:24:18 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/terraform-providers/acme v1.5.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/terraform-providers/acme/1.5.0/darwin_amd64
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/archive/1.3.0/darwin_amd64 as a candidate package for registry.terraform.io/-/archive 1.3.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/aws/2.65.0/darwin_amd64 as a candidate package for registry.terraform.io/-/aws 2.65.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/aws/2.65.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/aws 2.65.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/null/2.1.2/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/null 2.1.2
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/tfe/0.18.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/tfe 0.18.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/terraform-providers/acme/1.5.0/darwin_amd64 as a candidate package for registry.terraform.io/terraform-providers/acme 1.5.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/tls/2.1.1/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 2.1.1
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/jeffwecan/pypi/0.0.1/darwin_amd64 as a candidate package for registry.terraform.io/jeffwecan/pypi 0.0.1
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/acme/1.5.0/darwin_amd64 as a candidate package for registry.terraform.io/-/acme 1.5.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/archive/1.3.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/archive 1.3.0
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/template/2.1.2/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/template 2.1.2
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/random/2.2.1/darwin_amd64 as a candidate package for registry.terraform.io/-/random 2.2.1
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/tls/2.1.1/darwin_amd64 as a candidate package for registry.terraform.io/-/tls 2.1.1
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/random/2.2.1/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/random 2.2.1
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:18 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:19 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:19 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:19 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:19 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:19 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:20 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:20 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:20 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:20 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:20 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:20 [DEBUG] checking for provisioner in "."
2020/06/05 11:24:20 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1"
2020/06/05 11:24:20 [DEBUG] checking for provisioner in "/Users/jeffwecan/.terraform.d/plugins"
2020/06/05 11:24:20 [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/06/05 11:24:20 [TRACE] Meta.Backend: backend *remote.Remote supports operations
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins
Initializing provider plugins...
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/acme v1.5.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/acme/1.5.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/archive v1.3.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/archive/1.3.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/aws v2.65.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/aws/2.65.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/random v2.2.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/random/2.2.1/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/-/tls v2.1.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/-/tls/2.1.1/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/archive v1.3.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/archive/1.3.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/aws v2.65.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/aws/2.65.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v2.1.2 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/null/2.1.2/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v2.2.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/random/2.2.1/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/template v2.1.2 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/template/2.1.2/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tfe v0.18.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/tfe/0.18.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v2.1.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/hashicorp/tls/2.1.1/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/jeffwecan/pypi v0.0.1 for darwin_amd64 at .terraform/plugins/registry.terraform.io/jeffwecan/pypi/0.0.1/darwin_amd64
2020/06/05 11:24:21 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/terraform-providers/acme v1.5.0 for darwin_amd64 at .terraform/plugins/registry.terraform.io/terraform-providers/acme/1.5.0/darwin_amd64
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/acme/1.5.0/darwin_amd64 as a candidate package for registry.terraform.io/-/acme 1.5.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/aws/2.65.0/darwin_amd64 as a candidate package for registry.terraform.io/-/aws 2.65.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/random/2.2.1/darwin_amd64 as a candidate package for registry.terraform.io/-/random 2.2.1
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/tls/2.1.1/darwin_amd64 as a candidate package for registry.terraform.io/-/tls 2.1.1
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/archive/1.3.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/archive 1.3.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/random/2.2.1/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/random 2.2.1
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/tls/2.1.1/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 2.1.1
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/-/archive/1.3.0/darwin_amd64 as a candidate package for registry.terraform.io/-/archive 1.3.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/aws/2.65.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/aws 2.65.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/template/2.1.2/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/template 2.1.2
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/terraform-providers/acme/1.5.0/darwin_amd64 as a candidate package for registry.terraform.io/terraform-providers/acme 1.5.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/null/2.1.2/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/null 2.1.2
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/hashicorp/tfe/0.18.0/darwin_amd64 as a candidate package for registry.terraform.io/hashicorp/tfe 0.18.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/jeffwecan/pypi/0.0.1/darwin_amd64 as a candidate package for registry.terraform.io/jeffwecan/pypi 0.0.1
- Using previously-installed jeffwecan/pypi v0.0.1
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
- terraform.io/builtin/terraform is built in to Terraform
- Using previously-installed -/aws v2.65.0
- Using previously-installed hashicorp/archive v1.3.0
- Using previously-installed terraform-providers/acme v1.5.0
- Using previously-installed hashicorp/aws v2.65.0
- Using previously-installed -/acme v1.5.0
- Using previously-installed -/random v2.2.1
- Using previously-installed hashicorp/null v2.1.2
- Using previously-installed hashicorp/template v2.1.2
- Using previously-installed -/tls v2.1.1
- Using previously-installed hashicorp/tls v2.1.1
- Using previously-installed hashicorp/random v2.2.1
- Using previously-installed -/archive v1.3.0
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:21 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:22 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:22 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:22 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:22 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/06/05 11:24:22 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, we recommend adding version constraints in a required_providers block
in your configuration, with the constraint strings suggested below.
* -/acme: version = "~> 1.5.0"
* -/archive: version = "~> 1.3.0"
* -/aws: version = "~> 2.65.0"
* -/random: version = "~> 2.2.1"
* -/tls: version = "~> 2.1.1"
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