Skip to content

Instantly share code, notes, and snippets.

@astorath
Created April 5, 2021 07:50
Show Gist options
  • Save astorath/0511a583ce91f95fff58e676c16bae6e to your computer and use it in GitHub Desktop.
Save astorath/0511a583ce91f95fff58e676c16bae6e to your computer and use it in GitHub Desktop.
2021/04/05 10:41:34 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/04/05 10:41:34 [INFO] Terraform version: 0.14.5
2021/04/05 10:41:34 [INFO] Go runtime version: go1.15.6
2021/04/05 10:41:34 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.0.0/versions/0.14.5/terraform", "plan", "-no-color"}
2021/04/05 10:41:34 [DEBUG] Attempting to open CLI config file: /Users/andy/.terraformrc
2021/04/05 10:41:34 Loading CLI configuration from /Users/andy/.terraformrc
2021/04/05 10:41:34 Loading CLI configuration from /Users/andy/.terraform.d/credentials.tfrc.json
2021/04/05 10:41:34 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/05 10:41:34 [DEBUG] ignoring non-existing provider search directory /Users/andy/.terraform.d/plugins
2021/04/05 10:41:34 [DEBUG] ignoring non-existing provider search directory /Users/andy/Library/Application Support/io.terraform/plugins
2021/04/05 10:41:34 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021/04/05 10:41:34 [INFO] CLI command args: []string{"plan", "-no-color"}
2021/04/05 10:41:34 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/04/05 10:41:34 [DEBUG] New state was assigned lineage "874b38cb-d377-f381-0973-df2b56f03470"
2021/04/05 10:41:34 [DEBUG] checking for provisioner in "."
2021/04/05 10:41:34 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/2.0.0/versions/0.14.5"
2021/04/05 10:41:34 [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
2021/04/05 10:41:34 [INFO] backend/local: starting Plan operation
2021-04-05T10:41:34.608+0300 [INFO] plugin: configuring client automatic mTLS
2021-04-05T10:41:34.632+0300 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5]
2021-04-05T10:41:34.636+0300 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 pid=12434
2021-04-05T10:41:34.636+0300 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5
2021-04-05T10:41:34.677+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: configuring server automatic mTLS: timestamp=2021-04-05T10:41:34.677+0300
2021-04-05T10:41:34.711+0300 [DEBUG] plugin.terraform-provider-kubernetes_v2.0.3_x5: plugin address: address=/var/folders/h9/wchtbm296kd0zq6nv5xqgc4h0000gn/T/plugin948121649 network=unix timestamp=2021-04-05T10:41:34.710+0300
2021-04-05T10:41:34.711+0300 [DEBUG] plugin: using plugin: version=5
2021-04-05T10:41:34.786+0300 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T10:41:34.788+0300 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 pid=12434
2021-04-05T10:41:34.788+0300 [DEBUG] plugin: plugin exited
2021-04-05T10:41:34.788+0300 [INFO] plugin: configuring client automatic mTLS
2021-04-05T10:41:34.812+0300 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5]
2021-04-05T10:41:34.816+0300 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 pid=12435
2021-04-05T10:41:34.816+0300 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5
2021-04-05T10:41:34.825+0300 [INFO] plugin.terraform-provider-local_v2.1.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T10:41:34.825+0300
2021-04-05T10:41:34.858+0300 [DEBUG] plugin.terraform-provider-local_v2.1.0_x5: plugin address: address=/var/folders/h9/wchtbm296kd0zq6nv5xqgc4h0000gn/T/plugin376241150 network=unix timestamp=2021-04-05T10:41:34.858+0300
2021-04-05T10:41:34.858+0300 [DEBUG] plugin: using plugin: version=5
2021-04-05T10:41:34.907+0300 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T10:41:34.908+0300 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 pid=12435
2021-04-05T10:41:34.908+0300 [DEBUG] plugin: plugin exited
2021/04/05 10:41:34 [INFO] terraform: building graph: GraphTypeValidate
2021/04/05 10:41:34 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/kubernetes"], implied first by kubernetes_secret.gitlab-token-dev
2021/04/05 10:41:34 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/local"], implied first by local_file.foo
2021/04/05 10:41:34 [DEBUG] ProviderTransformer: "local_file.foo" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/local"]
2021/04/05 10:41:34 [DEBUG] ProviderTransformer: "kubernetes_secret.gitlab-token-dev" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"].dev
2021/04/05 10:41:34 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes"]
2021/04/05 10:41:34 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/kubernetes\"].dev" references: []
2021/04/05 10:41:34 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/local\"]" references: []
2021/04/05 10:41:34 [DEBUG] ReferenceTransformer: "kubernetes_secret.gitlab-token-dev" references: []
2021/04/05 10:41:34 [INFO] ReferenceTransformer: reference not found: "path.module"
2021/04/05 10:41:34 [DEBUG] ReferenceTransformer: "local_file.foo" references: [kubernetes_secret.gitlab-token-dev kubernetes_secret.gitlab-token-dev]
2021/04/05 10:41:34 [DEBUG] Starting graph walk: walkValidate
2021-04-05T10:41:34.909+0300 [INFO] plugin: configuring client automatic mTLS
2021-04-05T10:41:34.932+0300 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5]
2021-04-05T10:41:34.936+0300 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 pid=12436
2021-04-05T10:41:34.936+0300 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5
2021-04-05T10:41:34.977+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: configuring server automatic mTLS: timestamp=2021-04-05T10:41:34.977+0300
2021-04-05T10:41:35.013+0300 [DEBUG] plugin.terraform-provider-kubernetes_v2.0.3_x5: plugin address: address=/var/folders/h9/wchtbm296kd0zq6nv5xqgc4h0000gn/T/plugin991328091 network=unix timestamp=2021-04-05T10:41:35.013+0300
2021-04-05T10:41:35.013+0300 [DEBUG] plugin: using plugin: version=5
2021-04-05T10:41:35.061+0300 [INFO] plugin: configuring client automatic mTLS
2021-04-05T10:41:35.090+0300 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5]
2021-04-05T10:41:35.093+0300 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 pid=12438
2021-04-05T10:41:35.094+0300 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5
2021-04-05T10:41:35.104+0300 [INFO] plugin.terraform-provider-local_v2.1.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T10:41:35.103+0300
2021-04-05T10:41:35.139+0300 [DEBUG] plugin: using plugin: version=5
2021-04-05T10:41:35.139+0300 [DEBUG] plugin.terraform-provider-local_v2.1.0_x5: plugin address: address=/var/folders/h9/wchtbm296kd0zq6nv5xqgc4h0000gn/T/plugin468665293 network=unix timestamp=2021-04-05T10:41:35.138+0300
2021-04-05T10:41:35.191+0300 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T10:41:35.195+0300 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 pid=12436
2021-04-05T10:41:35.195+0300 [DEBUG] plugin: plugin exited
2021-04-05T10:41:35.196+0300 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T10:41:35.198+0300 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 pid=12438
2021-04-05T10:41:35.198+0300 [DEBUG] plugin: plugin exited
2021/04/05 10:41:35 [INFO] backend/local: plan calling Plan
2021/04/05 10:41:35 [INFO] terraform: building graph: GraphTypePlan
2021/04/05 10:41:35 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/kubernetes"], implied first by kubernetes_secret.gitlab-token-dev (expand)
2021/04/05 10:41:35 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/local"], implied first by local_file.foo (expand)
2021/04/05 10:41:35 [DEBUG] ProviderTransformer: "local_file.foo (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/local"]
2021/04/05 10:41:35 [DEBUG] ProviderTransformer: "kubernetes_secret.gitlab-token-dev (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"].dev
2021/04/05 10:41:35 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/kubernetes"]
2021/04/05 10:41:35 [DEBUG] ReferenceTransformer: "kubernetes_secret.gitlab-token-dev (expand)" references: []
2021/04/05 10:41:35 [INFO] ReferenceTransformer: reference not found: "path.module"
2021/04/05 10:41:35 [DEBUG] ReferenceTransformer: "local_file.foo (expand)" references: [kubernetes_secret.gitlab-token-dev (expand) kubernetes_secret.gitlab-token-dev (expand)]
2021/04/05 10:41:35 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/kubernetes\"].dev" references: []
2021/04/05 10:41:35 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/local\"]" references: []
2021/04/05 10:41:35 [DEBUG] Starting graph walk: walkPlan
2021-04-05T10:41:35.199+0300 [INFO] plugin: configuring client automatic mTLS
2021-04-05T10:41:35.224+0300 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5]
2021-04-05T10:41:35.228+0300 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 pid=12439
2021-04-05T10:41:35.229+0300 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5
2021-04-05T10:41:35.271+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: configuring server automatic mTLS: timestamp=2021-04-05T10:41:35.271+0300
2021-04-05T10:41:35.305+0300 [DEBUG] plugin.terraform-provider-kubernetes_v2.0.3_x5: plugin address: address=/var/folders/h9/wchtbm296kd0zq6nv5xqgc4h0000gn/T/plugin673103402 network=unix timestamp=2021-04-05T10:41:35.305+0300
2021-04-05T10:41:35.305+0300 [DEBUG] plugin: using plugin: version=5
2021-04-05T10:41:35.352+0300 [INFO] plugin: configuring client automatic mTLS
2021-04-05T10:41:35.379+0300 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5]
2021-04-05T10:41:35.383+0300 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 pid=12440
2021-04-05T10:41:35.383+0300 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5
2021-04-05T10:41:35.393+0300 [INFO] plugin.terraform-provider-local_v2.1.0_x5: configuring server automatic mTLS: timestamp=2021-04-05T10:41:35.393+0300
2021-04-05T10:41:35.427+0300 [DEBUG] plugin.terraform-provider-local_v2.1.0_x5: plugin address: address=/var/folders/h9/wchtbm296kd0zq6nv5xqgc4h0000gn/T/plugin509559639 network=unix timestamp=2021-04-05T10:41:35.427+0300
2021-04-05T10:41:35.427+0300 [DEBUG] plugin: using plugin: version=5
2021-04-05T10:41:35.473+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: 2021/04/05 10:41:35 [DEBUG] Using kubeconfig: /Users/andy/.kube/config: timestamp=2021-04-05T10:41:35.473+0300
2021-04-05T10:41:35.473+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: 2021/04/05 10:41:35 [DEBUG] Using custom current context: "kind-kind1": timestamp=2021-04-05T10:41:35.473+0300
2021-04-05T10:41:35.473+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: 2021/04/05 10:41:35 [DEBUG] Using overidden context: api.Context{LocationOfOrigin:"", Cluster:"", AuthInfo:"", Namespace:"", Extensions:map[string]runtime.Object(nil)}: timestamp=2021-04-05T10:41:35.473+0300
2021-04-05T10:41:35.477+0300 [INFO] plugin.terraform-provider-kubernetes_v2.0.3_x5: 2021/04/05 10:41:35 [DEBUG] Enabling HTTP requests/responses tracing: timestamp=2021-04-05T10:41:35.476+0300
2021/04/05 10:41:35 [DEBUG] Resource instance state not found for node "kubernetes_secret.gitlab-token-dev", instance kubernetes_secret.gitlab-token-dev
2021/04/05 10:41:35 [DEBUG] ReferenceTransformer: "kubernetes_secret.gitlab-token-dev" references: []
2021/04/05 10:41:35 [DEBUG] refresh: kubernetes_secret.gitlab-token-dev: no state, so not refreshing
2021/04/05 10:41:35 [DEBUG] Resource instance state not found for node "local_file.foo", instance local_file.foo
2021/04/05 10:41:35 [INFO] ReferenceTransformer: reference not found: "kubernetes_secret.gitlab-token-dev"
2021/04/05 10:41:35 [INFO] ReferenceTransformer: reference not found: "path.module"
2021/04/05 10:41:35 [DEBUG] ReferenceTransformer: "local_file.foo" references: []
2021-04-05T10:41:35.481+0300 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T10:41:35.484+0300 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.0.3/darwin_amd64/terraform-provider-kubernetes_v2.0.3_x5 pid=12439
2021-04-05T10:41:35.484+0300 [DEBUG] plugin: plugin exited
2021/04/05 10:41:35 [DEBUG] refresh: local_file.foo: no state, so not refreshing
2021/04/05 10:41:35 [INFO] backend/local: plan operation completed
Error: Invalid template interpolation value
on terraform.tf line 30, in resource "local_file" "foo":
30: content = "resource: ${kubernetes_secret.gitlab-token-dev.data}"
|----------------
| kubernetes_secret.gitlab-token-dev.data is null
The expression result is null. Cannot include a null value in a string
template.
2021-04-05T10:41:35.486+0300 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-04-05T10:41:35.487+0300 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/local/2.1.0/darwin_amd64/terraform-provider-local_v2.1.0_x5 pid=12440
2021-04-05T10:41:35.487+0300 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment