Created
June 5, 2020 16:25
-
-
Save jeffwecan/a6e3fc902ef5fc251683532836f5aaf3 to your computer and use it in GitHub Desktop.
removing terraform datasource from "state"
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 state rm data.terraform_remote_state.infrastructure | |
2020/06/05 11:24:05 [INFO] Terraform version: 0.13.0 beta1 | |
2020/06/05 11:24:05 [INFO] Go runtime version: go1.14.2 | |
2020/06/05 11:24:05 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1/terraform", "state", "rm", "data.terraform_remote_state.infrastructure"} | |
2020/06/05 11:24:05 [DEBUG] Attempting to open CLI config file: /Users/jeffwecan/.terraformrc | |
2020/06/05 11:24:05 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/06/05 11:24:05 Loading CLI configuration from /Users/jeffwecan/.terraform.d/credentials.tfrc.json | |
2020/06/05 11:24:05 [DEBUG] checking for credentials in "/Users/jeffwecan/.terraform.d/plugins" | |
2020/06/05 11:24:05 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/06/05 11:24:05 [DEBUG] ignoring non-existing provider search directory /Users/jeffwecan/Library/Application Support/io.terraform/plugins | |
2020/06/05 11:24:05 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins | |
2020/06/05 11:24:05 [INFO] CLI command args: []string{"state", "rm", "data.terraform_remote_state.infrastructure"} | |
2020/06/05 11:24:05 [TRACE] Meta.Backend: BackendOpts.Config not set, so using settings loaded from main.tf:2,3-19 | |
2020/06/05 11:24:05 [TRACE] Meta.Backend: built configuration for "remote" backend with hash value 4197443268 | |
2020/06/05 11:24:05 [TRACE] Preserving existing state lineage "937b26e3-3c72-a019-2f98-5ab4120bec98" | |
2020/06/05 11:24:05 [TRACE] Preserving existing state lineage "937b26e3-3c72-a019-2f98-5ab4120bec98" | |
2020/06/05 11:24:05 [TRACE] Meta.Backend: working directory was previously initialized for "remote" backend | |
2020/06/05 11:24:05 [TRACE] Meta.Backend: using already-initialized, unchanged "remote" backend configuration | |
2020/06/05 11:24:05 [DEBUG] Service discovery for tfe.hashicorp.engineering at https://tfe.hashicorp.engineering/.well-known/terraform.json | |
2020/06/05 11:24:05 [TRACE] HTTP client GET request to https://tfe.hashicorp.engineering/.well-known/terraform.json | |
2020/06/05 11:24:06 [DEBUG] Retrieve version constraints for service tfe.v2.1 and product terraform | |
2020/06/05 11:24:06 [TRACE] HTTP client GET request to https://checkpoint-api.hashicorp.com/v1/versions/tfe.v2.1?product=terraform | |
2020/06/05 11:24:06 [TRACE] Meta.Backend: instantiated backend of type *remote.Remote | |
2020/06/05 11:24:06 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins | |
2020/06/05 11:24:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [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:06 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:07 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:08 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:08 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:08 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:08 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:08 [DEBUG] checking for provisioner in "." | |
2020/06/05 11:24:08 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1" | |
2020/06/05 11:24:08 [DEBUG] checking for provisioner in "/Users/jeffwecan/.terraform.d/plugins" | |
2020/06/05 11:24:08 [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:08 [TRACE] backend/local: CLI option -backup is overriding state backup path to - | |
2020/06/05 11:24:08 [TRACE] Meta.Backend: backend *remote.Remote supports operations | |
2020/06/05 11:24:08 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins | |
2020/06/05 11:24:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:08 [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:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:09 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:10 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:10 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:10 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:10 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins | |
2020/06/05 11:24:10 [DEBUG] checking for provisioner in "." | |
2020/06/05 11:24:10 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/1.0.2/versions/0.13.0-beta1" | |
2020/06/05 11:24:10 [DEBUG] checking for provisioner in "/Users/jeffwecan/.terraform.d/plugins" | |
2020/06/05 11:24:10 [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:10 [TRACE] backend/local: CLI option -backup is overriding state backup path to - | |
Removed data.terraform_remote_state.infrastructure | |
Successfully removed 1 resource instance(s). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment