Created
January 12, 2024 18:59
-
-
Save squat/f7159c4591bd1e5d04b2957109718b2b to your computer and use it in GitHub Desktop.
Terraform Debug Output for ConfigMapList Failure
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
2024-01-12T19:58:59.685+0100 [INFO] Terraform version: 1.5.7 | |
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.26.0 | |
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2 | |
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0 | |
2024-01-12T19:58:59.686+0100 [DEBUG] using github.com/zclconf/go-cty v1.12.2 | |
2024-01-12T19:58:59.686+0100 [INFO] Go runtime version: go1.20.7 | |
2024-01-12T19:58:59.686+0100 [INFO] CLI args: []string{"/var/lib/tfenv/versions/1.5.7/terraform", "plan", "-no-color"} | |
2024-01-12T19:58:59.686+0100 [DEBUG] Attempting to open CLI config file: /home/squat/.terraformrc | |
2024-01-12T19:58:59.686+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2024-01-12T19:58:59.686+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2024-01-12T19:58:59.686+0100 [DEBUG] ignoring non-existing provider search directory /home/squat/.terraform.d/plugins | |
2024-01-12T19:58:59.686+0100 [DEBUG] ignoring non-existing provider search directory /home/squat/.local/share/terraform/plugins | |
2024-01-12T19:58:59.686+0100 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins | |
2024-01-12T19:58:59.686+0100 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins | |
2024-01-12T19:58:59.686+0100 [INFO] CLI command args: []string{"plan", "-no-color"} | |
2024-01-12T19:58:59.687+0100 [DEBUG] New state was assigned lineage "1d6f182f-0721-5abf-c9ff-0e37e44b6909" | |
2024-01-12T19:58:59.827+0100 [DEBUG] checking for provisioner in "." | |
2024-01-12T19:58:59.827+0100 [DEBUG] checking for provisioner in "/var/lib/tfenv/versions/1.5.7" | |
2024-01-12T19:58:59.827+0100 [INFO] backend/local: starting Plan operation | |
2024-01-12T19:58:59.828+0100 [DEBUG] created provider logger: level=debug | |
2024-01-12T19:58:59.828+0100 [INFO] provider: configuring client automatic mTLS | |
2024-01-12T19:58:59.842+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5] | |
2024-01-12T19:58:59.842+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 pid=3490674 | |
2024-01-12T19:58:59.842+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 | |
2024-01-12T19:58:59.844+0100 [INFO] provider.terraform-provider-http_v3.4.1_x5: configuring server automatic mTLS: timestamp=2024-01-12T19:58:59.844+0100 | |
2024-01-12T19:58:59.859+0100 [DEBUG] provider.terraform-provider-http_v3.4.1_x5: plugin address: network=unix address=/tmp/plugin3371467810 timestamp=2024-01-12T19:58:59.858+0100 | |
2024-01-12T19:58:59.859+0100 [DEBUG] provider: using plugin: version=5 | |
2024-01-12T19:58:59.870+0100 [DEBUG] No provider meta schema returned | |
2024-01-12T19:58:59.870+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2024-01-12T19:58:59.870+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 pid=3490674 | |
2024-01-12T19:58:59.870+0100 [DEBUG] provider: plugin exited | |
2024-01-12T19:58:59.870+0100 [DEBUG] created provider logger: level=debug | |
2024-01-12T19:58:59.870+0100 [INFO] provider: configuring client automatic mTLS | |
2024-01-12T19:58:59.876+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5] | |
2024-01-12T19:58:59.876+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 pid=3490682 | |
2024-01-12T19:58:59.876+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 | |
2024-01-12T19:58:59.896+0100 [INFO] provider.terraform-provider-kubernetes_v2.25.2_x5: configuring server automatic mTLS: timestamp=2024-01-12T19:58:59.895+0100 | |
2024-01-12T19:58:59.904+0100 [DEBUG] provider.terraform-provider-kubernetes_v2.25.2_x5: plugin address: address=/tmp/plugin1604375947 network=unix timestamp=2024-01-12T19:58:59.904+0100 | |
2024-01-12T19:58:59.904+0100 [DEBUG] provider: using plugin: version=5 | |
2024-01-12T19:58:59.958+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2024-01-12T19:58:59.960+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 pid=3490682 | |
2024-01-12T19:58:59.960+0100 [DEBUG] provider: plugin exited | |
2024-01-12T19:58:59.960+0100 [DEBUG] Building and walking validate graph | |
2024-01-12T19:58:59.961+0100 [DEBUG] ProviderTransformer: "kubernetes_manifest.configmap_list" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"] | |
2024-01-12T19:58:59.961+0100 [DEBUG] ProviderTransformer: "data.http.configmap_list" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/http"] | |
2024-01-12T19:58:59.961+0100 [DEBUG] ReferenceTransformer: "kubernetes_manifest.configmap_list" references: [data.http.configmap_list] | |
2024-01-12T19:58:59.961+0100 [DEBUG] ReferenceTransformer: "data.http.configmap_list" references: [] | |
2024-01-12T19:58:59.961+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/http\"]" references: [] | |
2024-01-12T19:58:59.961+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" references: [] | |
2024-01-12T19:58:59.961+0100 [DEBUG] Starting graph walk: walkValidate | |
2024-01-12T19:58:59.961+0100 [DEBUG] created provider logger: level=debug | |
2024-01-12T19:58:59.961+0100 [INFO] provider: configuring client automatic mTLS | |
2024-01-12T19:58:59.966+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5] | |
2024-01-12T19:58:59.967+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 pid=3490695 | |
2024-01-12T19:58:59.967+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 | |
2024-01-12T19:58:59.969+0100 [INFO] provider.terraform-provider-http_v3.4.1_x5: configuring server automatic mTLS: timestamp=2024-01-12T19:58:59.969+0100 | |
2024-01-12T19:58:59.984+0100 [DEBUG] provider: using plugin: version=5 | |
2024-01-12T19:58:59.984+0100 [DEBUG] provider.terraform-provider-http_v3.4.1_x5: plugin address: address=/tmp/plugin2452802333 network=unix timestamp=2024-01-12T19:58:59.984+0100 | |
2024-01-12T19:58:59.993+0100 [DEBUG] created provider logger: level=debug | |
2024-01-12T19:58:59.994+0100 [INFO] provider: configuring client automatic mTLS | |
2024-01-12T19:58:59.999+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5] | |
2024-01-12T19:59:00.000+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 pid=3490704 | |
2024-01-12T19:59:00.000+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 | |
2024-01-12T19:59:00.020+0100 [INFO] provider.terraform-provider-kubernetes_v2.25.2_x5: configuring server automatic mTLS: timestamp=2024-01-12T19:59:00.020+0100 | |
2024-01-12T19:59:00.029+0100 [DEBUG] provider.terraform-provider-kubernetes_v2.25.2_x5: plugin address: address=/tmp/plugin2508379200 network=unix timestamp=2024-01-12T19:59:00.029+0100 | |
2024-01-12T19:59:00.029+0100 [DEBUG] provider: using plugin: version=5 | |
2024-01-12T19:59:00.038+0100 [DEBUG] No provider meta schema returned | |
2024-01-12T19:59:00.039+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2024-01-12T19:59:00.040+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 pid=3490695 | |
2024-01-12T19:59:00.040+0100 [DEBUG] provider: plugin exited | |
2024-01-12T19:59:00.086+0100 [DEBUG] skipping FixUpBlockAttrs | |
2024-01-12T19:59:00.086+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2024-01-12T19:59:00.089+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 pid=3490704 | |
2024-01-12T19:59:00.089+0100 [DEBUG] provider: plugin exited | |
2024-01-12T19:59:00.089+0100 [INFO] backend/local: plan calling Plan | |
2024-01-12T19:59:00.089+0100 [DEBUG] Building and walking plan graph for NormalMode | |
2024-01-12T19:59:00.089+0100 [DEBUG] ProviderTransformer: "kubernetes_manifest.configmap_list (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"] | |
2024-01-12T19:59:00.089+0100 [DEBUG] ProviderTransformer: "data.http.configmap_list (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/http"] | |
2024-01-12T19:59:00.089+0100 [DEBUG] ReferenceTransformer: "kubernetes_manifest.configmap_list (expand)" references: [data.http.configmap_list (expand)] | |
2024-01-12T19:59:00.089+0100 [DEBUG] ReferenceTransformer: "data.http.configmap_list (expand)" references: [] | |
2024-01-12T19:59:00.089+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/http\"]" references: [] | |
2024-01-12T19:59:00.089+0100 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" references: [] | |
2024-01-12T19:59:00.089+0100 [DEBUG] Starting graph walk: walkPlan | |
2024-01-12T19:59:00.089+0100 [DEBUG] created provider logger: level=debug | |
2024-01-12T19:59:00.089+0100 [INFO] provider: configuring client automatic mTLS | |
2024-01-12T19:59:00.095+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5] | |
2024-01-12T19:59:00.095+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 pid=3490718 | |
2024-01-12T19:59:00.095+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 | |
2024-01-12T19:59:00.097+0100 [INFO] provider.terraform-provider-http_v3.4.1_x5: configuring server automatic mTLS: timestamp=2024-01-12T19:59:00.097+0100 | |
2024-01-12T19:59:00.112+0100 [DEBUG] provider: using plugin: version=5 | |
2024-01-12T19:59:00.112+0100 [DEBUG] provider.terraform-provider-http_v3.4.1_x5: plugin address: address=/tmp/plugin2168548857 network=unix timestamp=2024-01-12T19:59:00.112+0100 | |
2024-01-12T19:59:00.122+0100 [DEBUG] created provider logger: level=debug | |
2024-01-12T19:59:00.122+0100 [INFO] provider: configuring client automatic mTLS | |
2024-01-12T19:59:00.123+0100 [DEBUG] No provider meta schema returned | |
2024-01-12T19:59:00.128+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5] | |
2024-01-12T19:59:00.128+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 pid=3490726 | |
2024-01-12T19:59:00.128+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 | |
2024-01-12T19:59:00.148+0100 [INFO] provider.terraform-provider-kubernetes_v2.25.2_x5: configuring server automatic mTLS: timestamp=2024-01-12T19:59:00.148+0100 | |
2024-01-12T19:59:00.156+0100 [DEBUG] provider: using plugin: version=5 | |
2024-01-12T19:59:00.156+0100 [DEBUG] provider.terraform-provider-kubernetes_v2.25.2_x5: plugin address: address=/tmp/plugin357937820 network=unix timestamp=2024-01-12T19:59:00.156+0100 | |
2024-01-12T19:59:00.165+0100 [DEBUG] Resource instance state not found for node "data.http.configmap_list", instance data.http.configmap_list | |
2024-01-12T19:59:00.165+0100 [DEBUG] ReferenceTransformer: "data.http.configmap_list" references: [] | |
data.http.configmap_list: Reading... | |
2024-01-12T19:59:00.167+0100 [DEBUG] provider.terraform-provider-http_v3.4.1_x5: performing request: tf_data_source_type=http tf_req_id=9188d1e1-c5c6-8239-0ba8-db494a1d18e9 tf_rpc=ReadDataSource url="map[ForceQuery:false Fragment: Host:raw.githubusercontent.com OmitHost:false Opaque: Path:/prometheus-operator/kube-prometheus/5fcbcc9198075da5a60b09c553e709c45f1a8c09/manifests/grafana-dashboardDefinitions.yaml RawFragment: RawPath: RawQuery: Scheme:https User:<nil>]" @caller=github.com/terraform-providers/terraform-provider-http/internal/provider/data_source_http.go:416 @module=http method=GET tf_provider_addr=registry.terraform.io/hashicorp/http timestamp=2024-01-12T19:59:00.167+0100 | |
2024-01-12T19:59:00.213+0100 [DEBUG] provider.terraform-provider-kubernetes_v2.25.2_x5: 2024/01/12 19:59:00 [DEBUG] Using kubeconfig: /home/squat/.kube/config | |
2024-01-12T19:59:00.214+0100 [DEBUG] provider.terraform-provider-kubernetes_v2.25.2_x5: 2024/01/12 19:59:00 [DEBUG] Enabling HTTP requests/responses tracing | |
2024-01-12T19:59:00.216+0100 [DEBUG] provider.terraform-provider-kubernetes_v2.25.2_x5: Using kubeconfig file: @caller=github.com/hashicorp/terraform-provider-kubernetes/internal/framework/provider/provider_configure.go:64 @module=kubernetes tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/kubernetes tf_req_id=9c6c2baf-956c-c787-1a0e-a76c6f1db439 path=/home/squat/.kube/config tf_rpc=ConfigureProvider timestamp=2024-01-12T19:59:00.216+0100 | |
2024-01-12T19:59:00.261+0100 [DEBUG] provider.terraform-provider-http_v3.4.1_x5: Value switched to prior value due to semantic equality logic: tf_req_id=9188d1e1-c5c6-8239-0ba8-db494a1d18e9 tf_attribute_path=url tf_data_source_type=http tf_provider_addr=registry.terraform.io/hashicorp/http tf_rpc=ReadDataSource @caller=github.com/hashicorp/[email protected]/internal/fwschemadata/value_semantic_equality.go:85 @module=sdk.framework timestamp=2024-01-12T19:59:00.261+0100 | |
data.http.configmap_list: Read complete after 0s [id=https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/5fcbcc9198075da5a60b09c553e709c45f1a8c09/manifests/grafana-dashboardDefinitions.yaml] | |
2024-01-12T19:59:00.318+0100 [DEBUG] Resource instance state not found for node "kubernetes_manifest.configmap_list", instance kubernetes_manifest.configmap_list | |
2024-01-12T19:59:00.318+0100 [DEBUG] ReferenceTransformer: "kubernetes_manifest.configmap_list" references: [] | |
2024-01-12T19:59:00.318+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2024-01-12T19:59:00.320+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/http/3.4.1/linux_amd64/terraform-provider-http_v3.4.1_x5 pid=3490718 | |
2024-01-12T19:59:00.320+0100 [DEBUG] provider: plugin exited | |
2024-01-12T19:59:00.320+0100 [DEBUG] refresh: kubernetes_manifest.configmap_list: no state, so not refreshing | |
2024-01-12T19:59:00.372+0100 [DEBUG] skipping FixUpBlockAttrs | |
2024-01-12T19:59:00.403+0100 [ERROR] provider.terraform-provider-kubernetes_v2.25.2_x5: Response contains error diagnostic: tf_resource_type=kubernetes_manifest tf_rpc=ValidateResourceTypeConfig diagnostic_summary="Attribute key missing from "manifest" value" tf_provider_addr=registry.terraform.io/hashicorp/kubernetes tf_req_id=b9801eeb-04b1-908e-c966-58a1b28aabc4 tf_proto_version=5.4 @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_attribute=AttributeName("manifest").AttributeName("metadata") diagnostic_severity=ERROR @module=sdk.proto diagnostic_detail="'metadata' attribute key is missing from manifest configuration" timestamp=2024-01-12T19:59:00.403+0100 | |
2024-01-12T19:59:00.403+0100 [ERROR] vertex "kubernetes_manifest.configmap_list" error: Attribute key missing from "manifest" value | |
2024-01-12T19:59:00.403+0100 [ERROR] vertex "kubernetes_manifest.configmap_list (expand)" error: Attribute key missing from "manifest" value | |
2024-01-12T19:59:00.404+0100 [INFO] backend/local: plan operation completed | |
Planning failed. Terraform encountered an error while generating this plan. | |
Error: Attribute key missing from "manifest" value | |
with kubernetes_manifest.configmap_list, | |
on main.tf line 22, in resource "kubernetes_manifest" "configmap_list": | |
22: resource "kubernetes_manifest" "configmap_list" { | |
'metadata' attribute key is missing from manifest configuration | |
2024-01-12T19:59:00.408+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2024-01-12T19:59:00.410+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/kubernetes/2.25.2/linux_amd64/terraform-provider-kubernetes_v2.25.2_x5 pid=3490726 | |
2024-01-12T19:59:00.410+0100 [DEBUG] provider: plugin exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment