Skip to content

Instantly share code, notes, and snippets.

@fholzer
Last active April 4, 2026 20:43
Show Gist options
  • Select an option

  • Save fholzer/80beb7853e614de3e4b755cc45cacf73 to your computer and use it in GitHub Desktop.

Select an option

Save fholzer/80beb7853e614de3e4b755cc45cacf73 to your computer and use it in GitHub Desktop.
cloudflare terraform provider crash when listing dns records
2026-04-04T22:24:57.631+0200 [INFO] Terraform version: 1.14.3
2026-04-04T22:24:57.631+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.94.0
2026-04-04T22:24:57.631+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.24.0
2026-04-04T22:24:57.631+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2026-04-04T22:24:57.631+0200 [DEBUG] using github.com/zclconf/go-cty v1.16.3
2026-04-04T22:24:57.631+0200 [INFO] Go runtime version: go1.25.5
2026-04-04T22:24:57.631+0200 [INFO] CLI args: []string{"/home/fholzer/.tfenv/versions/1.14.3/terraform", "plan", "-out=tfplan"}
2026-04-04T22:24:57.631+0200 [DEBUG] Attempting to open CLI config file: /home/fholzer/.terraformrc
2026-04-04T22:24:57.631+0200 [INFO] Loading CLI configuration from /home/fholzer/.terraformrc
2026-04-04T22:24:57.631+0200 [DEBUG] Explicit provider installation configuration is set
2026-04-04T22:24:57.632+0200 [INFO] CLI command args: []string{"plan", "-out=tfplan"}
2026-04-04T22:24:57.724+0200 [DEBUG] checking for provisioner in "."
2026-04-04T22:24:57.724+0200 [DEBUG] checking for provisioner in "/home/fholzer/.tfenv/versions/1.14.3"
2026-04-04T22:24:57.724+0200 [INFO] backend/local: starting Plan operation
2026-04-04T22:24:57.725+0200 [DEBUG] created provider logger: level=debug
2026-04-04T22:24:57.725+0200 [INFO] provider: configuring client automatic mTLS
2026-04-04T22:24:57.731+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0"]
2026-04-04T22:24:57.732+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 pid=831305
2026-04-04T22:24:57.732+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0
2026-04-04T22:24:57.737+0200 [INFO] provider.terraform-provider-cloudflare_v5.18.0: configuring server automatic mTLS: timestamp="2026-04-04T22:24:57.737+0200"
2026-04-04T22:24:57.745+0200 [DEBUG] provider: using plugin: version=6
2026-04-04T22:24:57.745+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: plugin address: network=unix address=/tmp/plugin3066981810 timestamp="2026-04-04T22:24:57.745+0200"
2026-04-04T22:24:57.805+0200 [DEBUG] No provider meta schema returned
2026-04-04T22:24:57.823+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2026-04-04T22:24:57.824+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 id=831305
2026-04-04T22:24:57.824+0200 [DEBUG] provider: plugin exited
2026-04-04T22:24:57.824+0200 [DEBUG] Building and walking validate graph
2026-04-04T22:24:57.825+0200 [DEBUG] ProviderTransformer: "cloudflare_dns_record.a_record" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2026-04-04T22:24:57.825+0200 [DEBUG] ProviderTransformer: "cloudflare_dns_record.caa_record" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2026-04-04T22:24:57.825+0200 [DEBUG] ProviderTransformer: "data.cloudflare_dns_records.all" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2026-04-04T22:24:57.825+0200 [DEBUG] ReferenceTransformer: "var.zone_id" references: []
2026-04-04T22:24:57.825+0200 [DEBUG] ReferenceTransformer: "var.zone_name" references: []
2026-04-04T22:24:57.825+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: []
2026-04-04T22:24:57.825+0200 [DEBUG] ReferenceTransformer: "cloudflare_dns_record.a_record" references: [var.zone_id var.zone_name]
2026-04-04T22:24:57.825+0200 [DEBUG] ReferenceTransformer: "cloudflare_dns_record.caa_record" references: [var.zone_id var.zone_name]
2026-04-04T22:24:57.825+0200 [DEBUG] ReferenceTransformer: "data.cloudflare_dns_records.all" references: [cloudflare_dns_record.a_record cloudflare_dns_record.caa_record var.zone_id]
2026-04-04T22:24:57.825+0200 [DEBUG] Starting graph walk: walkValidate
2026-04-04T22:24:57.825+0200 [DEBUG] created provider logger: level=debug
2026-04-04T22:24:57.825+0200 [INFO] provider: configuring client automatic mTLS
2026-04-04T22:24:57.827+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0"]
2026-04-04T22:24:57.828+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 pid=831332
2026-04-04T22:24:57.828+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0
2026-04-04T22:24:57.832+0200 [INFO] provider.terraform-provider-cloudflare_v5.18.0: configuring server automatic mTLS: timestamp="2026-04-04T22:24:57.832+0200"
2026-04-04T22:24:57.837+0200 [DEBUG] provider: using plugin: version=6
2026-04-04T22:24:57.837+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: plugin address: address=/tmp/plugin1698273777 network=unix timestamp="2026-04-04T22:24:57.837+0200"
2026-04-04T22:24:57.843+0200 [DEBUG] skipping FixUpBlockAttrs
2026-04-04T22:24:57.843+0200 [DEBUG] skipping FixUpBlockAttrs
2026-04-04T22:24:57.851+0200 [DEBUG] skipping FixUpBlockAttrs
2026-04-04T22:24:57.856+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2026-04-04T22:24:57.857+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 id=831332
2026-04-04T22:24:57.857+0200 [DEBUG] provider: plugin exited
2026-04-04T22:24:57.857+0200 [INFO] backend/local: plan calling Plan
2026-04-04T22:24:57.857+0200 [DEBUG] Building and walking plan graph for NormalMode
2026-04-04T22:24:57.857+0200 [DEBUG] ProviderTransformer: "cloudflare_dns_record.caa_record (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2026-04-04T22:24:57.857+0200 [DEBUG] ProviderTransformer: "data.cloudflare_dns_records.all (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2026-04-04T22:24:57.857+0200 [DEBUG] ProviderTransformer: "cloudflare_dns_record.a_record (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2026-04-04T22:24:57.857+0200 [DEBUG] ReferenceTransformer: "data.cloudflare_dns_records.all (expand)" references: [cloudflare_dns_record.a_record (expand) cloudflare_dns_record.caa_record (expand) var.zone_id]
2026-04-04T22:24:57.857+0200 [DEBUG] ReferenceTransformer: "var.zone_id" references: []
2026-04-04T22:24:57.857+0200 [DEBUG] ReferenceTransformer: "var.zone_name" references: []
2026-04-04T22:24:57.857+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: []
2026-04-04T22:24:57.857+0200 [DEBUG] ReferenceTransformer: "cloudflare_dns_record.a_record (expand)" references: [var.zone_name var.zone_id]
2026-04-04T22:24:57.858+0200 [DEBUG] ReferenceTransformer: "cloudflare_dns_record.caa_record (expand)" references: [var.zone_name var.zone_id]
2026-04-04T22:24:57.858+0200 [DEBUG] Starting graph walk: walkPlan
2026-04-04T22:24:57.858+0200 [DEBUG] created provider logger: level=debug
2026-04-04T22:24:57.858+0200 [INFO] provider: configuring client automatic mTLS
2026-04-04T22:24:57.862+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0"]
2026-04-04T22:24:57.862+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0 pid=831344
2026-04-04T22:24:57.862+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.18.0/linux_amd64/terraform-provider-cloudflare_v5.18.0
2026-04-04T22:24:57.867+0200 [INFO] provider.terraform-provider-cloudflare_v5.18.0: configuring server automatic mTLS: timestamp="2026-04-04T22:24:57.867+0200"
2026-04-04T22:24:57.873+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: plugin address: address=/tmp/plugin2815700666 network=unix timestamp="2026-04-04T22:24:57.873+0200"
2026-04-04T22:24:57.873+0200 [DEBUG] provider: using plugin: version=6
2026-04-04T22:24:57.883+0200 [DEBUG] ReferenceTransformer: "cloudflare_dns_record.a_record" references: []
2026-04-04T22:24:57.883+0200 [DEBUG] ReferenceTransformer: "cloudflare_dns_record.caa_record" references: []
2026-04-04T22:24:57.883+0200 [DEBUG] UpgradeResourceState: ignoring dynamic block: map[string]interface {}{"type":"number", "value":"0"}
cloudflare_dns_record.a_record: Refreshing state... [id=6a70d8223ef05b67dfc65e17e4bc7b22]
cloudflare_dns_record.caa_record: Refreshing state... [id=b4a8c58aaa0b0e78b0337599a4e3c5bf]
2026-04-04T22:24:57.891+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0:
GET /client/v4/zones/REDACTED/dns_records/6a70d8223ef05b67dfc65e17e4bc7b22 HTTP/1.1
> x-stainless-retry-count: 0
> user-agent: terraform-provider-cloudflare/5.18.0 terraform-plugin-framework/1.15.0 terraform/1.14.3
> x-stainless-arch: x64
> x-stainless-runtime: terraform-plugin-framework
> x-stainless-runtime-version: 1.15.0
> authorization: [redacted]
> x-stainless-package-version: 5.18.0
> accept: application/json
> x-stainless-lang: Terraform
> x-stainless-os: Linux: tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/cloudflare/terraform-provider-cloudflare/internal/logging/logging.go:68 @module=cloudflare tf_provider_addr=registry.terraform.io/cloudflare/cloudflare timestamp="2026-04-04T22:24:57.891+0200"
2026-04-04T22:24:57.892+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0:
GET /client/v4/zones/REDACTED/dns_records/b4a8c58aaa0b0e78b0337599a4e3c5bf HTTP/1.1
> x-stainless-arch: x64
> accept: application/json
> x-stainless-os: Linux
> x-stainless-package-version: 5.18.0
> user-agent: terraform-provider-cloudflare/5.18.0 terraform-plugin-framework/1.15.0 terraform/1.14.3
> x-stainless-runtime-version: 1.15.0
> x-stainless-lang: Terraform
> authorization: [redacted]
> x-stainless-retry-count: 0
> x-stainless-runtime: terraform-plugin-framework: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_rpc=ReadResource @caller=github.com/cloudflare/terraform-provider-cloudflare/internal/logging/logging.go:68 @module=cloudflare tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:57.892+0200"
2026-04-04T22:24:58.302+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0:
< HTTP/2.0 200 OK
< date: Sat, 04 Apr 2026 20:24:58 GMT
< cf-ray: 9e730a223d7cf562-VIE
< vary: Accept-Encoding
< api-version: 2026-04-04
< content-type: application/json
< set-cookie: __cflb=04dTob1Z8hkaUxg6DoHNs8KRCyeFshegDg8msgkcBo; SameSite=Lax; path=/; expires=Sat, 04-Apr-26 22:54:59 GMT; HttpOnly
< set-cookie: __cf_bm=.8XNivJ8.YzodfYxjv74ZVqHkJszql0VW7i8Z9ViHUg-1775334297.960595-1.0.1.1-AyayQAktN8Okfy2Uu_4HWxAPFbzo11gkyJTw_0aortx3i3ixRGuHg3AU7B3W9LywMoDhuhIkFPo0cMyplGqo.Q4FEmuTU4cYzAGEGDZie_3.W8Ep30hFB6pnd0Od5T2N; HttpOnly; Secure; Path=/; Domain=api.cloudflare.com; Expires=Sat, 04 Apr 2026 20:54:58 GMT
< set-cookie: _cfuvid=CmWJL0o03tPQXtY.u56R.K0gfLAl3n1_Lj0SLGKCFyI-1775334297.960595-1.0.1.1-p2kffpF12.54SQJGIplQT2cRnateQXGgA3uKxSmO1IE; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.cloudflare.com
< cf-cache-status: DYNAMIC
< server: cloudflare
< cf-auditlog-id: 019d5a2b-9172-7107-8e42-8b55fcefe49e
< ratelimit: "default";r=1199;t=1
< ratelimit-policy: "default";q=1200;w=300
<
{"result":{"id":"b4a8c58aaa0b0e78b0337599a4e3c5bf","name":"foobar.example.com","type":"CAA","content":"0 issue \"foobar\"","proxiable":false,"proxied":false,"ttl":1,"data":{"flags":0,"tag":"issue","value":"foobar"},"settings":{},"meta":{},"comment":null,"tags":[],"created_on":"2026-04-04T20:21:49.133391Z","modified_on":"2026-04-04T20:21:49.133391Z"},"success":true,"errors":[],"messages":[]}
: tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/cloudflare/terraform-provider-cloudflare/internal/logging/logging.go:96 @module=cloudflare timestamp="2026-04-04T22:24:58.302+0200"
2026-04-04T22:24:58.302+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=zone_id tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 timestamp="2026-04-04T22:24:58.302+0200"
2026-04-04T22:24:58.302+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=content tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 timestamp="2026-04-04T22:24:58.302+0200"
2026-04-04T22:24:58.302+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=proxied tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.302+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=ttl tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @module=sdk.framework tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 timestamp="2026-04-04T22:24:58.302+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=type tf_resource_type=cloudflare_dns_record tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.302+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=id tf_resource_type=cloudflare_dns_record @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=tags tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=modified_on tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=proxiable tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=settings tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=data.value tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=data.tag tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=name tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=created_on tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @module=sdk.framework tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.303+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=meta tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=cc13fb3c-10bb-5766-6346-7e80c5aa3a92 tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework timestamp="2026-04-04T22:24:58.303+0200"
2026-04-04T22:24:58.304+0200 [DEBUG] skipping FixUpBlockAttrs
2026-04-04T22:24:58.327+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0:
< HTTP/2.0 200 OK
< content-type: application/json
< server: cloudflare
< cf-auditlog-id: 019d5a2b-9173-7261-89eb-341a4ce4a00a
< ratelimit: "default";r=1199;t=1
< ratelimit-policy: "default";q=1200;w=300
< date: Sat, 04 Apr 2026 20:24:58 GMT
< set-cookie: __cflb=04dTob1Z8hkaUxg6DoHNs8KRCyeFshegDg8msgkcBo; SameSite=Lax; path=/; expires=Sat, 04-Apr-26 22:54:59 GMT; HttpOnly
< set-cookie: __cf_bm=yHi2A5MV3IPZu7K7QbIH7Q0qXe1_Cqmp5uCwkYyyNeE-1775334297.960503-1.0.1.1-YLfCcZa2VFykmZ9Mby3KJpQyAjBu2x6p2ATZVLTRCyVxCLFAkx8fp7gd1CUJq5X3W7iDLOqcNAiW0l.Q2GGWupglR08Ee4ovzvjixyttFqsiA1rvR2hbJyidyZk_dmE4; HttpOnly; Secure; Path=/; Domain=api.cloudflare.com; Expires=Sat, 04 Apr 2026 20:54:58 GMT
< set-cookie: _cfuvid=7ya2MZkLN9qdHhFWt9vHgiEpLU.xwMBp0qVJ3RPActQ-1775334297.960503-1.0.1.1-anE5Rm1sVWkhQ6m6WpCzr6TfM74cQU0SbQ1HGF.YZsY; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.cloudflare.com
< cf-ray: 9e730a223d7af562-VIE
< cf-cache-status: DYNAMIC
< vary: Accept-Encoding
< api-version: 2026-04-04
<
{"result":{"id":"6a70d8223ef05b67dfc65e17e4bc7b22","name":"foobar.example.com","type":"A","content":"1.1.1.1","proxiable":false,"proxied":false,"ttl":1,"settings":{},"meta":{},"comment":null,"tags":[],"created_on":"2026-04-04T20:21:49.111854Z","modified_on":"2026-04-04T20:21:49.111854Z"},"success":true,"errors":[],"messages":[]}
: tf_rpc=ReadResource tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @caller=github.com/cloudflare/terraform-provider-cloudflare/internal/logging/logging.go:96 @module=cloudflare tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.327+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=tags tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record tf_attribute_path=proxiable tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=created_on tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_attribute_path=content tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_rpc=ReadResource timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=settings tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_rpc=ReadResource @module=sdk.framework tf_attribute_path=type tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=ttl tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.329+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_attribute_path=id tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 timestamp="2026-04-04T22:24:58.329+0200"
2026-04-04T22:24:58.330+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=ReadResource tf_attribute_path=modified_on tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 timestamp="2026-04-04T22:24:58.330+0200"
2026-04-04T22:24:58.330+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=proxied tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 @module=sdk.framework tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.330+0200"
2026-04-04T22:24:58.330+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=name tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_rpc=ReadResource @module=sdk.framework tf_resource_type=cloudflare_dns_record timestamp="2026-04-04T22:24:58.330+0200"
2026-04-04T22:24:58.330+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_dns_record tf_rpc=ReadResource @module=sdk.framework tf_attribute_path=meta tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 timestamp="2026-04-04T22:24:58.330+0200"
2026-04-04T22:24:58.330+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_attribute_path=zone_id tf_req_id=2be5e796-1610-a5cd-1eeb-fc368ac419ae tf_resource_type=cloudflare_dns_record @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=ReadResource @module=sdk.framework timestamp="2026-04-04T22:24:58.330+0200"
2026-04-04T22:24:58.332+0200 [DEBUG] skipping FixUpBlockAttrs
2026-04-04T22:24:58.341+0200 [DEBUG] Resource instance state not found for node "data.cloudflare_dns_records.all", instance data.cloudflare_dns_records.all
2026-04-04T22:24:58.341+0200 [DEBUG] ReferenceTransformer: "data.cloudflare_dns_records.all" references: []
2026-04-04T22:24:58.341+0200 [DEBUG] skipping FixUpBlockAttrs
data.cloudflare_dns_records.all: Reading...
2026-04-04T22:24:59.594+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.18.0: Value switched to prior value due to semantic equality logic: tf_rpc=ReadDataSource @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @caller=github.com/hashicorp/terraform-plugin-framework@v1.15.0/internal/fwschemadata/value_semantic_equality.go:91 tf_attribute_path=zone_id tf_data_source_type=cloudflare_dns_records tf_req_id=99b08dcd-65b6-6fef-e35c-86c96fb895c2 timestamp="2026-04-04T22:24:59.594+0200"
2026-04-04T22:24:59.600+0200 [ERROR] vertex "data.cloudflare_dns_records.all" panicked
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
Please report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version, the stack trace
shown below, and any additional information which may help replicate the issue.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
panic: inconsistent list element types (cty.Object(map[string]cty.Type{"comment":cty.String, "comment_modified_on":cty.String, "content":cty.String, "created_on":cty.String, "data":cty.Object(map[string]cty.Type{"algorithm":cty.Number, "altitude":cty.Number, "certificate":cty.String, "digest":cty.String, "digest_type":cty.Number, "fingerprint":cty.String, "flags":cty.DynamicPseudoType, "key_tag":cty.Number, "lat_degrees":cty.Number, "lat_direction":cty.String, "lat_minutes":cty.Number, "lat_seconds":cty.Number, "long_degrees":cty.Number, "long_direction":cty.String, "long_minutes":cty.Number, "long_seconds":cty.Number, "matching_type":cty.Number, "order":cty.Number, "port":cty.Number, "precision_horz":cty.Number, "precision_vert":cty.Number, "preference":cty.Number, "priority":cty.Number, "protocol":cty.Number, "public_key":cty.String, "regex":cty.String, "replacement":cty.String, "selector":cty.Number, "service":cty.String, "size":cty.Number, "tag":cty.String, "target":cty.String, "type":cty.Number, "usage":cty.Number, "value":cty.String, "weight":cty.Number}), "id":cty.String, "meta":cty.String, "modified_on":cty.String, "name":cty.String, "priority":cty.Number, "proxiable":cty.Bool, "proxied":cty.Bool, "settings":cty.Object(map[string]cty.Type{"flatten_cname":cty.Bool, "ipv4_only":cty.Bool, "ipv6_only":cty.Bool}), "tags":cty.Set(cty.String), "tags_modified_on":cty.String, "ttl":cty.Number, "type":cty.String}) then cty.Object(map[string]cty.Type{"comment":cty.String, "comment_modified_on":cty.String, "content":cty.String, "created_on":cty.String, "data":cty.Object(map[string]cty.Type{"algorithm":cty.Number, "altitude":cty.Number, "certificate":cty.String, "digest":cty.String, "digest_type":cty.Number, "fingerprint":cty.String, "flags":cty.Number, "key_tag":cty.Number, "lat_degrees":cty.Number, "lat_direction":cty.String, "lat_minutes":cty.Number, "lat_seconds":cty.Number, "long_degrees":cty.Number, "long_direction":cty.String, "long_minutes":cty.Number, "long_seconds":cty.Number, "matching_type":cty.Number, "order":cty.Number, "port":cty.Number, "precision_horz":cty.Number, "precision_vert":cty.Number, "preference":cty.Number, "priority":cty.Number, "protocol":cty.Number, "public_key":cty.String, "regex":cty.String, "replacement":cty.String, "selector":cty.Number, "service":cty.String, "size":cty.Number, "tag":cty.String, "target":cty.String, "type":cty.Number, "usage":cty.Number, "value":cty.String, "weight":cty.Number}), "id":cty.String, "meta":cty.String, "modified_on":cty.String, "name":cty.String, "priority":cty.Number, "proxiable":cty.Bool, "proxied":cty.Bool, "settings":cty.Object(map[string]cty.Type{"flatten_cname":cty.Bool, "ipv4_only":cty.Bool, "ipv6_only":cty.Bool}), "tags":cty.Set(cty.String), "tags_modified_on":cty.String, "ttl":cty.Number, "type":cty.String}))
goroutine 162 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:26 +0x5e
github.com/hashicorp/terraform/internal/logging.PanicHandler()
github.com/hashicorp/terraform/internal/logging/panic.go:84 +0x16a
panic({0x36b03c0?, 0xc001109b70?})
runtime/panic.go:783 +0x132
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1.1()
github.com/hashicorp/terraform/internal/terraform/graph.go:59 +0x4c5
panic({0x36b03c0?, 0xc001109b70?})
runtime/panic.go:783 +0x132
github.com/zclconf/go-cty/cty.ListVal({0xc0007c81e0, 0xf, 0xc001018600?})
github.com/zclconf/go-cty@v1.16.3/cty/value_init.go:165 +0x47b
github.com/zclconf/go-cty/cty/msgpack.unmarshalList(0xc0014c5560, {{0x44c3dd0?, 0xc001018600?}}, {0xc00100bec8, 0x1, 0x2})
github.com/zclconf/go-cty@v1.16.3/cty/msgpack/unmarshal.go:160 +0x56c
github.com/zclconf/go-cty/cty/msgpack.unmarshal(0xc0014c5560, {{0x44c4090?, 0xc001018610?}}, {0xc00100bec8, 0x1, 0x2})
github.com/zclconf/go-cty@v1.16.3/cty/msgpack/unmarshal.go:51 +0x3d2
github.com/zclconf/go-cty/cty/msgpack.unmarshalObject(0xc0014c5560, 0xc001f04c00, {0x0, 0x0, 0x0})
github.com/zclconf/go-cty@v1.16.3/cty/msgpack/unmarshal.go:296 +0x4f3
github.com/zclconf/go-cty/cty/msgpack.unmarshal(0xc0014c5560, {{0x44c3dd0?, 0xc001018650?}}, {0x0, 0x0, 0x0})
github.com/zclconf/go-cty@v1.16.3/cty/msgpack/unmarshal.go:59 +0x50b
github.com/zclconf/go-cty/cty/msgpack.Unmarshal({0xc0002fb500, 0x13f5, 0x1500}, {{0x44c3dd0?, 0xc001018650?}})
github.com/zclconf/go-cty@v1.16.3/cty/msgpack/unmarshal.go:22 +0xae
github.com/hashicorp/terraform/internal/plugin6.decodeDynamicValue(0x0?, {{0x44c3dd0?, 0xc001018650?}})
github.com/hashicorp/terraform/internal/plugin6/grpc_provider.go:1754 +0x92
github.com/hashicorp/terraform/internal/plugin6.(*GRPCProvider).ReadDataSource(0xc000ff1700, {{0xc000623548, 0x16}, {{{0x44c3dd0, 0xc00175f600}}, {0x37f3240, 0xc0017f5770}}, {{{0x44c47f8, 0x6423fe0}}, {0x0, ...}}, ...})
github.com/hashicorp/terraform/internal/plugin6/grpc_provider.go:1084 +0x6e9
github.com/hashicorp/terraform/internal/terraform.(*NodeAbstractResourceInstance).readDataSource(0xc00076cd88, {0x44f1448, 0xc000e297a0}, {{{0x44c3dd0?, 0xc00175eca0?}}, {0x37f3240?, 0xc0017f5410?}})
github.com/hashicorp/terraform/internal/terraform/node_resource_abstract_instance.go:1666 +0x1406
github.com/hashicorp/terraform/internal/terraform.(*NodeAbstractResourceInstance).planDataSource(0xc00076cd88, {0x44f1448, 0xc000e297a0}, 0x45, 0x0, 0x0?)
github.com/hashicorp/terraform/internal/terraform/node_resource_abstract_instance.go:1951 +0x197e
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstance).dataResourceExecute(0xc001937d60, {0x44f1448, 0xc000e297a0})
github.com/hashicorp/terraform/internal/terraform/node_resource_plan_instance.go:109 +0x4e5
github.com/hashicorp/terraform/internal/terraform.(*NodePlannableResourceInstance).Execute(0xc0007d7730?, {0x44f1448?, 0xc000e297a0?}, 0x58?)
github.com/hashicorp/terraform/internal/terraform/node_resource_plan_instance.go:76 +0x9d
github.com/hashicorp/terraform/internal/terraform.(*ContextGraphWalker).Execute(0xc0001d4840, {0x44f1448, 0xc000e297a0}, {0x7f7e29fd03d8, 0xc001937d60})
github.com/hashicorp/terraform/internal/terraform/graph_walk_context.go:166 +0xaf
github.com/hashicorp/terraform/internal/terraform.(*Graph).walk.func1({0x3d7f560, 0xc001937d60})
github.com/hashicorp/terraform/internal/terraform/graph.go:143 +0x755
github.com/hashicorp/terraform/internal/dag.(*Walker).walkVertex(0xc0009b6420, {0x3d7f560, 0xc001937d60}, 0xc0015aabc0)
github.com/hashicorp/terraform/internal/dag/walk.go:393 +0x2d1
created by github.com/hashicorp/terraform/internal/dag.(*Walker).Update in goroutine 121
github.com/hashicorp/terraform/internal/dag/walk.go:316 +0xf13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment