Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.10.0 failed to upgrade cloudflare_ruleset #1499

Closed
2 tasks done
roccato opened this issue Mar 9, 2022 · 2 comments · Fixed by #1501
Closed
2 tasks done

v3.10.0 failed to upgrade cloudflare_ruleset #1499

roccato opened this issue Mar 9, 2022 · 2 comments · Fixed by #1501
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@roccato
Copy link

roccato commented Mar 9, 2022

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version

Running in TFC

Terraform v1.1.3

  • provider registry.terraform.io/cloudflare/cloudflare v3.10.0

Affected resource(s)

Observed on these resources but suspect all are affected

  • cloudflare_record
  • cloudflare_logpush_job
  • cloudflare_ruleset
  • cloudflare_zone_settings_override
  • cloudflare_filter

Terraform configuration files

resource "cloudflare_record" "A_testwebsite_com" {
  name    = "testwebsite.com"
  ttl     = "1"
  type    = "A"
  value   = "A_VALID_PUBLIC_IP"
  proxied = true
  zone_id = cloudflare_zone.testwebsite_com.id
}

Debug output

�Terraform v1.1.3
on linux_amd64
Configuring remote state backend...
Initializing Terraform configuration...
2022-03-09T19:53:54.819Z [INFO] Terraform version: 1.1.3
2022-03-09T19:53:54.819Z [INFO] Go runtime version: go1.17.2
2022-03-09T19:53:54.819Z [INFO] CLI args: []string{"terraform", "plan", "-out", "/terraform/terraform.tfplan", "-detailed-exitcode", "-var-file=/terraform/cloudflare/zones/testwebsite_com/terraform.tfvars", "-json", "-lock=false", "-parallelism=10"}
2022-03-09T19:53:54.819Z [DEBUG] Attempting to open CLI config file: /tmp/cli.tfrc
2022-03-09T19:53:54.819Z [INFO] Loading CLI configuration from /tmp/cli.tfrc
2022-03-09T19:53:54.819Z [DEBUG] Not reading CLI config directory because config location is overridden by environment variable
2022-03-09T19:53:54.819Z [DEBUG] Using modified User-Agent: HashiCorp Terraform/1.1.3 (+https://www.terraform.io) TFC/3b9ef98e99
2022-03-09T19:53:54.820Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-03-09T19:53:54.820Z [DEBUG] ignoring non-existing provider search directory /home/terraform/.terraform.d/plugins
2022-03-09T19:53:54.820Z [DEBUG] ignoring non-existing provider search directory /home/terraform/.local/share/terraform/plugins
2022-03-09T19:53:54.820Z [DEBUG] will search for provider plugins in /usr/local/share/terraform/plugins
2022-03-09T19:53:54.820Z [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
{"@Level":"info","@message":"Terraform 1.1.3","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:54.822270Z","terraform":"1.1.3","type":"version","ui":"1.0"}
2022-03-09T19:53:54.822Z [INFO] CLI command args: []string{"plan", "-out", "/terraform/terraform.tfplan", "-detailed-exitcode", "-var-file=/terraform/cloudflare/zones/testwebsite_com/terraform.tfvars", "-json", "-lock=false", "-parallelism=10"}
2022-03-09T19:53:54.822Z [DEBUG] Using modified User-Agent: Terraform/1.1.3 TFC/3b9ef98e99
2022-03-09T19:53:54.822Z [DEBUG] Using modified User-Agent: HashiCorp Terraform/1.1.3 (+https://www.terraform.io) TFC/3b9ef98e99
2022-03-09T19:53:54.826Z [DEBUG] Service discovery for app.terraform.io at https://app.terraform.io/.well-known/terraform.json
2022-03-09T19:53:55.141Z [DEBUG] checking for provisioner in "."
2022-03-09T19:53:55.142Z [DEBUG] checking for provisioner in "/usr/local/bin"
2022-03-09T19:53:55.234Z [INFO] backend/local: starting Plan operation
2022-03-09T19:53:55.549Z [DEBUG] backend/local: Skipping interactive prompts for variables because input is disabled
2022-03-09T19:53:55.550Z [DEBUG] Building and walking validate graph

REDACTED...

2022-03-09T19:53:55.552Z [DEBUG] created provider logger: level=debug
2022-03-09T19:53:55.552Z [INFO] provider: configuring client automatic mTLS
2022-03-09T19:53:55.567Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0]
2022-03-09T19:53:55.567Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 pid=1519
2022-03-09T19:53:55.568Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0
2022-03-09T19:53:55.576Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: configuring server automatic mTLS: timestamp=2022-03-09T19:53:55.576Z
2022-03-09T19:53:55.590Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: plugin address: address=/tmp/plugin3673275788 network=unix timestamp=2022-03-09T19:53:55.590Z
2022-03-09T19:53:55.590Z [DEBUG] provider: using plugin: version=5
2022-03-09T19:53:55.634Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-09T19:53:55.635Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 pid=1519
2022-03-09T19:53:55.635Z [DEBUG] provider: plugin exited

REDACTED...

2022-03-09T19:53:55.642Z [DEBUG] Starting graph walk: walkValidate
2022-03-09T19:53:55.643Z [DEBUG] created provider logger: level=debug
2022-03-09T19:53:55.643Z [INFO] provider: configuring client automatic mTLS
2022-03-09T19:53:55.657Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0]
2022-03-09T19:53:55.658Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 pid=1526
2022-03-09T19:53:55.658Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0
2022-03-09T19:53:55.666Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: configuring server automatic mTLS: timestamp=2022-03-09T19:53:55.666Z
2022-03-09T19:53:55.681Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: plugin address: network=unix address=/tmp/plugin3649370245 timestamp=2022-03-09T19:53:55.681Z
2022-03-09T19:53:55.681Z [DEBUG] provider: using plugin: version=5
2022-03-09T19:53:55.750Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-09T19:53:55.751Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 pid=1526
2022-03-09T19:53:55.751Z [DEBUG] provider: plugin exited
2022-03-09T19:53:55.751Z [INFO] backend/local: plan calling Plan
2022-03-09T19:53:55.752Z [DEBUG] Building and walking plan graph for NormalMode
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.A_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.CNAME_REDACTED_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_zone_settings_override.testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_filter.non_us (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.CNAME__REDACTED_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_firewall_rule.us_only (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.TXT__cf-custom-hostname_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.TXT_testwebsite_com_2 (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "module.waf.cloudflare_ruleset.zone_level_managed_waf (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_zone.testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.TXT_testwebsite_com_1 (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.CNAME_REDACTED_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.A_REDACTED_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.753Z [DEBUG] ProviderTransformer: "cloudflare_record.CNAME_www_testwebsite_com (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-09T19:53:55.754Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:55.754Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:55.754Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:55.754Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:55.754Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:55.754Z [DEBUG] ReferenceTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" references: [module.dd_log_push.local.logpush_job_datasets (expand) module.dd_log_push.var.zone_id (expand) module.dd_log_push.var.zone_name (expand) module.dd_log_push.local.datadog_api_endpoint (expand) module.dd_log_push.var.datadog_api_key (expand) module.dd_log_push.var.zone_name (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push.local.datadog_api_endpoint (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_zone_settings_override.testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME_www_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME__REDACTED_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.waf.var.zone_id (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_filter.non_us (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.waf.local.exposed_credentials_check_ruleset_id (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push (close)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "var.cloudflare_api_token" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_firewall_rule.us_only (expand)" references: [cloudflare_filter.non_us (expand) cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.A_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push.var.zone_id (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push.var.zone_name (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push.local.logpush_job_datasets (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.waf (close)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_zone.testwebsite_com (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.waf.local.owasp_global_override_rule_id (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.TXT__cf-custom-hostname_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME_cart_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.A_secure_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.dd_log_push.var.datadog_api_key (expand)" references: [var.datadog_api_key]
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "module.waf.local.managed_ruleset_id (expand)" references: []
2022-03-09T19:53:55.755Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME_b_testwebsite_com (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "module.waf.cloudflare_ruleset.zone_level_managed_waf (expand)" references: [module.waf.var.zone_id (expand) module.waf.local.cloudflare_waf_managed_rulesets (expand)]
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/cloudflare/cloudflare"]" references: [var.cloudflare_api_token]
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "module.waf (expand)" references: []
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "cloudflare_record.TXT_testwebsite_com_2 (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "var.datadog_api_key" references: []
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "module.waf.local.cloudflare_waf_managed_rulesets (expand)" references: [module.waf.local.exposed_credentials_check_ruleset_id (expand) module.waf.local.owasp_core_ruleset_id (expand) module.waf.local.owasp_global_override_rule_id (expand)]
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "module.waf.local.owasp_core_ruleset_id (expand)" references: []
2022-03-09T19:53:55.756Z [DEBUG] ReferenceTransformer: "cloudflare_record.TXT_testwebsite_com_1 (expand)" references: [cloudflare_zone.testwebsite_com (expand)]
2022-03-09T19:53:55.758Z [DEBUG] Starting graph walk: walkPlan
2022-03-09T19:53:55.760Z [DEBUG] created provider logger: level=debug
2022-03-09T19:53:55.760Z [INFO] provider: configuring client automatic mTLS
2022-03-09T19:53:55.776Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0]
2022-03-09T19:53:55.776Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 pid=1534
2022-03-09T19:53:55.776Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0
2022-03-09T19:53:55.784Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: configuring server automatic mTLS: timestamp=2022-03-09T19:53:55.783Z
2022-03-09T19:53:55.798Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: plugin address: address=/tmp/plugin2360209424 network=unix timestamp=2022-03-09T19:53:55.798Z
2022-03-09T19:53:55.798Z [DEBUG] provider: using plugin: version=5
2022-03-09T19:53:55.851Z [WARN] ValidateProviderConfig from "provider["registry.terraform.io/cloudflare/cloudflare"]" changed the config value, but that value is unused
2022-03-09T19:53:55.852Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:55 [INFO] Cloudflare Client configured for user:: timestamp=2022-03-09T19:53:55.852Z
2022-03-09T19:53:55.852Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:55 [INFO] Using specified account id 4c52f6625093102cf72da4fe92e2de64 in Cloudflare provider: timestamp=2022-03-09T19:53:55.852Z
2022-03-09T19:53:55.852Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:55 [INFO] Cloudflare Client configured for user:: timestamp=2022-03-09T19:53:55.852Z
2022-03-09T19:53:55.853Z [DEBUG] ReferenceTransformer: "cloudflare_zone.testwebsite_com" references: []
{"@Level":"info","@message":"cloudflare_zone.testwebsite_com: Refreshing state... [id=REDACTED]","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:55.855498Z","hook":{"resource":{"addr":"cloudflare_zone.testwebsite_com","module":"","resource":"cloudflare_zone.testwebsite_com","implied_provider":"cloudflare","resource_type":"cloudflare_zone","resource_name":"testwebsite_com","resource_key":null},"id_key":"id","id_value":"REDACTED"},"type":"refresh_start"}
2022-03-09T19:53:55.856Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:55 [DEBUG] Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/zones/ba4ec1e778d09af80ac70822b2aa014e HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.1.3 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.10.0
Authorization: [redacted]
Content-Type: application/json
Accept-Encoding: gzip

-----------------------------------------------------: timestamp=2022-03-09T19:53:55.856Z
2022-03-09T19:53:56.862Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:56 [DEBUG] Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Cf-Cache-Status: DYNAMIC
Cf-Ray: 6e965c0c7cdc700a-IAD
Content-Type: application/json
Date: Wed, 09 Mar 2022 19:53:56 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Expires: Sun, 25 Jan 1981 05:00:00 GMT
Pragma: no-cache
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhv8mvCu46KY1; SameSite=Lax; path=/; expires=Wed, 09-Mar-22 22:23:57 GMT; HttpOnly
Set-Cookie: __cfruid=e5cd5989f7ae06338afb61fd53ecaa60118d114f-1646855636; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=31536000
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN

{
"result": {
"id": "REDACTED",
"name": "testwebsite.com",
"status": "active",
"paused": false,
"type": "full",
"development_mode": 0,
"name_servers": [
"nameserver.com",
"nameserver.com"
],
"original_name_servers": [
"ns.rackspace.com",
"ns2.rackspace.com"
],
"original_registrar": "REDACTED",
"original_dnshost": null,
"modified_on": "2022-03-09T18:48:16.995317Z",
"created_on": "2022-02-07T08:39:14.054891Z",
"activated_on": "2022-03-09T18:48:16.995317Z",
"vanity_name_servers": [],
"vanity_name_servers_ips": null,
"meta": {
"step": 4,
"wildcard_proxiable": true,
"custom_certificate_quota": 1,
"page_rule_quota": 100,
"phishing_detected": false,
"multiple_railguns_allowed": false
},
"owner": {
"id": "REDACTED",
"type": "organization",
"name": "REDACTED"
},
"account": {
"id": "REDACTED",
"name": "REDACTED"
},
"permissions": [
"#access:edit",
"#access:read",
"#analytics:read",
"#app:edit",
"#auditlogs:read",
"#billing:edit",
"#billing:read",
"#cache_purge:edit",
"#dns_records:edit",
"#dns_records:read",
"#healthchecks:edit",
"#healthchecks:read",
"#image:edit",
"#image:read",
"#lb:edit",
"#lb:read",
"#legal:edit",
"#legal:read",
"#logs:edit",
"#logs:read",
"#member:edit",
"#member:read",
"#organization:edit",
"#organization:read",
"#ssl:edit",
"#ssl:read",
"#stream:edit",
"#stream:read",
"#subscription:edit",
"#subscription:read",
"#teams:edit",
"#teams:pii",
"#teams:read",
"#teams:report",
"#transform:edit",
"#transform:read",
"#waf:edit",
"#waf:read",
"#waitingroom:edit",
"#waitingroom:read",
"#webhooks:edit",
"#webhooks:read",
"#worker:edit",
"#worker:read",
"#zone:edit",
"#zone:read",
"#zone_settings:edit",
"#zone_settings:read"
],
"plan": {
REDACTED...
}
},
"success": true,
"errors": [],
"messages": []
}
-----------------------------------------------------: timestamp=2022-03-09T19:53:56.862Z
2022-03-09T19:53:56.863Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:56 [DEBUG] ZoneDetails: cloudflare.Zone{ID:"REDACTED", Name:"testwebsite.com", DevMode:0, OriginalNS:[]string{"ns.rackspace.com", "ns2.rackspace.com"}, OriginalRegistrar:"REDACTED", OriginalDNSHost:"", CreatedOn:time.Date(2022, time.February, 7, 8, 39, 14, 54891000, time.UTC), ModifiedOn:time.Date(2022, time.March, 9, 18, 48, 16, 995317000, time.UTC), NameServers:[]string{"nameserver.com", "nameserver.com"}, Owner:cloudflare.Owner{ID:"REDACTED", Email:"", Name:"REDACTED", OwnerType:"organization"}, Permissions:[]string{"#access:edit", "#access:read", "#analytics:read", "#app:edit", "#auditlogs:read", "#billing:edit", "#billing:read", "#cache_purge:edit", "#dns_records:edit", "#dns_records:read", "#healthchecks:edit", "#healthchecks:read", "#image:edit", "#image:read", "#lb:edit", "#lb:read", "#legal:edit", "#legal:read", "#logs:edit", "#logs:read", "#member:edit", "#member:read", "#organization:edit", "#organization:read", "#ssl:edit", "#ssl:read", "#stream:edit", "#stream:read", "#subscription:edit", "#subscription:read", "#teams:edit", "#teams:pii", "#teams:read", "#teams:report", "#transform:edit", "#transform:read", "#waf:edit", "#waf:read", "#waitingroom:edit", "#waitingroom:read", "#webhooks:edit", "#webhooks:read", "#worker:edit", "#worker:read", "#zone:edit", "#zone:read", "#zone_settings:edit", "#zone_settings:read"}, Plan:cloudflare.ZonePlan{ZonePlanCommon:cloudflare.ZonePlanCommon{ID:"REDACTED", Name:"Enterprise Website", Price:0, Currency:"USD", Frequency:""}, LegacyID:"enterprise", IsSubscribed:true, CanSubscribe:true, LegacyDiscount:false, ExternallyManaged:true}, PlanPending:cloudflare.ZonePlan{ZonePlanCommon:cloudflare.ZonePlanCommon{ID:"", Name:"", Price:0, Currency:"", Frequency:""}, LegacyID:"", IsSubscribed:false, CanSubscribe:false, LegacyDiscount:false, ExternallyManaged:false}, Status:"active", Paused:false, Type:"full", Host:struct { Name string; Website string }{Name:"", Website:""}, VanityNS:[]string{}, Betas:[]string(nil), DeactReason:"", Meta:cloudflare.ZoneMeta{PageRuleQuota:100, WildcardProxiable:true, PhishingDetected:false}, Account:cloudflare.Account{ID:"REDACTED", Name:"REDACTED", Type:"", Settings:(*cloudflare.AccountSettings)(nil)}, VerificationKey:""}: timestamp=2022-03-09T19:53:56.863Z
2022-03-09T19:53:56.864Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:56 [DEBUG] ZoneDetails error: : timestamp=2022-03-09T19:53:56.864Z
2022-03-09T19:53:56.864Z [INFO] provider.terraform-provider-cloudflare_v3.10.0: 2022/03/09 19:53:56 [DEBUG] flattenMeta map[string]interface {}{"phishing_detected":false, "wildcard_proxiable":true}: timestamp=2022-03-09T19:53:56.864Z
2022-03-09T19:53:56.865Z [WARN] Provider "registry.terraform.io/cloudflare/cloudflare" produced an unexpected new value for cloudflare_zone.testwebsite_com during refresh.
- .status: was cty.StringVal("pending"), but now cty.StringVal("active")
{"@Level":"info","@message":"cloudflare_zone.testwebsite_com: Refresh complete [id=REDACTED]","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.865469Z","hook":{"resource":{"addr":"cloudflare_zone.testwebsite_com","module":"","resource":"cloudflare_zone.testwebsite_com","implied_provider":"cloudflare","resource_type":"cloudflare_zone","resource_name":"testwebsite_com","resource_key":null},"id_key":"id","id_value":"REDACTED"},"type":"refresh_complete"}
2022-03-09T19:53:56.868Z [WARN] Provider "registry.terraform.io/cloudflare/cloudflare" produced an invalid plan for cloudflare_zone.testwebsite_com, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .paused: planned value cty.False for a non-computed attribute
- .type: planned value cty.StringVal("full") for a non-computed attribute
2022-03-09T19:53:56.869Z [DEBUG] ReferenceTransformer: "cloudflare_zone_settings_override.testwebsite_com" references: []
2022-03-09T19:53:56.870Z [INFO] ReferenceTransformer: reference not found: "var.zone_id"
2022-03-09T19:53:56.870Z [INFO] ReferenceTransformer: reference not found: "local.cloudflare_waf_managed_rulesets"
2022-03-09T19:53:56.870Z [DEBUG] ReferenceTransformer: "module.waf.cloudflare_ruleset.zone_level_managed_waf" references: []
2022-03-09T19:53:56.871Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME_b_testwebsite_com" references: []
2022-03-09T19:53:56.871Z [DEBUG] ReferenceTransformer: "cloudflare_record.A_secure_testwebsite_com" references: []
2022-03-09T19:53:56.871Z [DEBUG] ReferenceTransformer: "cloudflare_record.TXT__cf-custom-hostname_testwebsite_com" references: []
2022-03-09T19:53:56.872Z [DEBUG] ReferenceTransformer: "cloudflare_record.A_testwebsite_com" references: []
2022-03-09T19:53:56.872Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME_cart_testwebsite_com" references: []
2022-03-09T19:53:56.872Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME_www_testwebsite_com" references: []
2022-03-09T19:53:56.872Z [DEBUG] ReferenceTransformer: "cloudflare_record.TXT_testwebsite_com_2" references: []
2022-03-09T19:53:56.872Z [DEBUG] ReferenceTransformer: "cloudflare_filter.non_us" references: []
2022-03-09T19:53:56.880Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: panic: interface conversion: interface {} is nil, not []map[string]interface {}
2022-03-09T19:53:56.880Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0:
2022-03-09T19:53:56.881Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: goroutine 65 [running]:
2022-03-09T19:53:56.881Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/cloudflare/terraform-provider-cloudflare/cloudflare.resourceCloudflareRulesetStateUpgradeV0ToV1({0xc000637988, 0x4fbae5}, 0xc00044f560, {0xbed800, 0xc00000e6a0})
2022-03-09T19:53:56.881Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/cloudflare/terraform-provider-cloudflare/cloudflare/resource_cloudflare_ruleset_migrate.go:344 +0x1e5
2022-03-09T19:53:56.881Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).upgradeJSONState(0xc0000a3350, {0xe6f398, 0xc00042d440}, 0xbed800, 0xc00000e6a0, 0xc0002a4840)
2022-03-09T19:53:56.881Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:424 +0x97
2022-03-09T19:53:56.887Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).UpgradeResourceState(0xc0000a3350, {0xe6f398, 0xc00042d440}, 0xc000070e60)
2022-03-09T19:53:56.887Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:300 +0x365
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).UpgradeResourceState(0xc000117180, {0xe6f440, 0xc00007ced0}, 0xc0004656d0)
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:528 +0x2db
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_UpgradeResourceState_Handler({0xd0bf80, 0xc000117180}, {0xe6f440, 0xc00007ced0}, 0xc00068b920, 0x0)
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:308 +0x170
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000244c40, {0xe7dd08, 0xc0003a6000}, 0xc000622b40, 0xc00035d230, 0x13b9360, 0x0)
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc@v1.44.0/server.go:1282 +0xccf
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc.(*Server).handleStream(0xc000244c40, {0xe7dd08, 0xc0003a6000}, 0xc000622b40, 0x0)
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc@v1.44.0/server.go:1616 +0xa2a
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc.(*Server).serveStreams.func1.2()
2022-03-09T19:53:56.888Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc@v1.44.0/server.go:921 +0x98
2022-03-09T19:53:56.889Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: created by google.golang.org/grpc.(*Server).serveStreams.func1
2022-03-09T19:53:56.889Z [DEBUG] provider.terraform-provider-cloudflare_v3.10.0: google.golang.org/grpc@v1.44.0/server.go:919 +0x294
2022-03-09T19:53:56.890Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.10.0/linux_amd64/terraform-provider-cloudflare_v3.10.0 pid=1534 error="exit status 2"
2022-03-09T19:53:56.890Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.TXT_testwebsite_com_2" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.TXT_testwebsite_com_2" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.TXT_testwebsite_com_2 (expand)" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.TXT__cf-custom-hostname_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.TXT__cf-custom-hostname_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.TXT__cf-custom-hostname_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.CNAME_cart_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.CNAME_cart_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_record.CNAME_cart_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.890Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.890Z [ERROR] vertex "cloudflare_filter.non_us" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_filter.non_us" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_filter.non_us (expand)" error: Request cancelled
2022-03-09T19:53:56.891Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_zone_settings_override.testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_zone_settings_override.testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_zone_settings_override.testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] vertex "module.waf.cloudflare_ruleset.zone_level_managed_waf" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "module.waf.cloudflare_ruleset.zone_level_managed_waf" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "module.waf.cloudflare_ruleset.zone_level_managed_waf (expand)" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.CNAME_b_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.CNAME_b_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.CNAME_b_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.A_secure_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.A_secure_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.A_secure_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.A_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.A_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.A_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.CNAME_www_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.CNAME_www_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.891Z [ERROR] vertex "cloudflare_record.CNAME_www_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.892Z [DEBUG] ReferenceTransformer: "cloudflare_record.TXT_testwebsite_com_1" references: []
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "local.logpush_job_datasets"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.zone_id"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "local.datadog_api_endpoint"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.datadog_api_key"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.892Z [DEBUG] ReferenceTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job["dns_logs"]" references: []
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "local.logpush_job_datasets"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "local.datadog_api_endpoint"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.datadog_api_key"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.892Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_id"
2022-03-09T19:53:56.893Z [DEBUG] ReferenceTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job["firewall_events"]" references: []
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "local.logpush_job_datasets"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_id"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "local.datadog_api_endpoint"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.datadog_api_key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [DEBUG] ReferenceTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job["http_requests"]" references: []
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "local.logpush_job_datasets"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_id"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "local.datadog_api_endpoint"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.datadog_api_key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [DEBUG] ReferenceTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job["nel_reports"]" references: []
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "local.logpush_job_datasets"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "local.datadog_api_endpoint"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.datadog_api_key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.value"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_id"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "var.zone_name"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [INFO] ReferenceTransformer: reference not found: "each.key"
2022-03-09T19:53:56.893Z [DEBUG] ReferenceTransformer: "module.dd_log_push.cloudflare_logpush_job.logpush_job["spectrum_events"]" references: []
2022-03-09T19:53:56.893Z [DEBUG] ReferenceTransformer: "cloudflare_record.CNAME__REDACTED_testwebsite_com" references: []
2022-03-09T19:53:56.896Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.896Z [ERROR] vertex "cloudflare_record.TXT_testwebsite_com_1" error: Request cancelled
2022-03-09T19:53:56.896Z [ERROR] vertex "cloudflare_record.TXT_testwebsite_com_1" error: Request cancelled
2022-03-09T19:53:56.896Z [ERROR] vertex "cloudflare_record.TXT_testwebsite_com_1 (expand)" error: Request cancelled
2022-03-09T19:53:56.896Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.896Z [ERROR] vertex "cloudflare_record.CNAME__REDACTED_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.896Z [ERROR] vertex "cloudflare_record.CNAME__REDACTED_testwebsite_com" error: Request cancelled
2022-03-09T19:53:56.896Z [ERROR] vertex "cloudflare_record.CNAME__REDACTED_testwebsite_com (expand)" error: Request cancelled
2022-03-09T19:53:56.896Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.896Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job["dns_logs"]" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job["firewall_events"]" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job["http_requests"]" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job["nel_reports"]" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] plugin.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job["spectrum_events"]" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" error: Request cancelled
2022-03-09T19:53:56.897Z [ERROR] vertex "module.dd_log_push.cloudflare_logpush_job.logpush_job (expand)" error: Request cancelled
2022-03-09T19:53:56.909Z [INFO] backend/local: plan operation completed
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.916848Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"module.dd_log_push.cloudflare_logpush_job.logpush_job["dns_logs"]","range":{"filename":"../../modules/dd_log_push/main.tf","start":{"line":183,"column":49,"byte":4502},"end":{"line":183,"column":50,"byte":4503}},"snippet":{"context":"resource "cloudflare_logpush_job" "logpush_job"","code":"resource "cloudflare_logpush_job" "logpush_job" {","start_line":183,"highlight_start_offset":48,"highlight_end_offset":49,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.920429Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"module.dd_log_push.cloudflare_logpush_job.logpush_job["firewall_events"]","range":{"filename":"../../modules/dd_log_push/main.tf","start":{"line":183,"column":49,"byte":4502},"end":{"line":183,"column":50,"byte":4503}},"snippet":{"context":"resource "cloudflare_logpush_job" "logpush_job"","code":"resource "cloudflare_logpush_job" "logpush_job" {","start_line":183,"highlight_start_offset":48,"highlight_end_offset":49,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.921848Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"module.dd_log_push.cloudflare_logpush_job.logpush_job["http_requests"]","range":{"filename":"../../modules/dd_log_push/main.tf","start":{"line":183,"column":49,"byte":4502},"end":{"line":183,"column":50,"byte":4503}},"snippet":{"context":"resource "cloudflare_logpush_job" "logpush_job"","code":"resource "cloudflare_logpush_job" "logpush_job" {","start_line":183,"highlight_start_offset":48,"highlight_end_offset":49,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.923397Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"module.dd_log_push.cloudflare_logpush_job.logpush_job["nel_reports"]","range":{"filename":"../../modules/dd_log_push/main.tf","start":{"line":183,"column":49,"byte":4502},"end":{"line":183,"column":50,"byte":4503}},"snippet":{"context":"resource "cloudflare_logpush_job" "logpush_job"","code":"resource "cloudflare_logpush_job" "logpush_job" {","start_line":183,"highlight_start_offset":48,"highlight_end_offset":49,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.924974Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"module.dd_log_push.cloudflare_logpush_job.logpush_job["spectrum_events"]","range":{"filename":"../../modules/dd_log_push/main.tf","start":{"line":183,"column":49,"byte":4502},"end":{"line":183,"column":50,"byte":4503}},"snippet":{"context":"resource "cloudflare_logpush_job" "logpush_job"","code":"resource "cloudflare_logpush_job" "logpush_job" {","start_line":183,"highlight_start_offset":48,"highlight_end_offset":49,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.925979Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"module.waf.cloudflare_ruleset.zone_level_managed_waf","range":{"filename":"../../modules/waf/main.tf","start":{"line":52,"column":56,"byte":1298},"end":{"line":52,"column":57,"byte":1299}},"snippet":{"context":"resource "cloudflare_ruleset" "zone_level_managed_waf"","code":"resource "cloudflare_ruleset" "zone_level_managed_waf" {","start_line":52,"highlight_start_offset":55,"highlight_end_offset":56,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.926884Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.TXT_testwebsite_com_1","range":{"filename":"records.tf","start":{"line":56,"column":58,"byte":1580},"end":{"line":56,"column":59,"byte":1581}},"snippet":{"context":"resource "cloudflare_record" "TXT_testwebsite_com_1"","code":"resource "cloudflare_record" "TXT_testwebsite_com_1" {","start_line":56,"highlight_start_offset":57,"highlight_end_offset":58,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.927757Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.CNAME__REDACTED_testwebsite_com","range":{"filename":"records.tf","start":{"line":20,"column":97,"byte":565},"end":{"line":20,"column":98,"byte":566}},"snippet":{"context":"resource "cloudflare_record" "CNAME__REDACTED_testwebsite_com"","code":"resource "cloudflare_record" "CNAME__REDACTED_testwebsite_com" {","start_line":20,"highlight_start_offset":96,"highlight_end_offset":97,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.928749Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_filter.non_us","range":{"filename":"firewall_rules.tf","start":{"line":1,"column":39,"byte":38},"end":{"line":1,"column":40,"byte":39}},"snippet":{"context":"resource "cloudflare_filter" "non_us"","code":"resource "cloudflare_filter" "non_us" {","start_line":1,"highlight_start_offset":38,"highlight_end_offset":39,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.931577Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.CNAME_b_testwebsite_com","range":{"filename":"records.tf","start":{"line":28,"column":60,"byte":848},"end":{"line":28,"column":61,"byte":849}},"snippet":{"context":"resource "cloudflare_record" "CNAME_b_testwebsite_com"","code":"resource "cloudflare_record" "CNAME_b_testwebsite_com" {","start_line":28,"highlight_start_offset":59,"highlight_end_offset":60,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.933273Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.A_testwebsite_com","range":{"filename":"records.tf","start":{"line":1,"column":54,"byte":53},"end":{"line":1,"column":55,"byte":54}},"snippet":{"context":"resource "cloudflare_record" "A_testwebsite_com"","code":"resource "cloudflare_record" "A_testwebsite_com" {","start_line":1,"highlight_start_offset":53,"highlight_end_offset":54,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.935600Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.TXT__cf-custom-hostname_testwebsite_com","range":{"filename":"records.tf","start":{"line":72,"column":76,"byte":2052},"end":{"line":72,"column":77,"byte":2053}},"snippet":{"context":"resource "cloudflare_record" "TXT__cf-custom-hostname_testwebsite_com"","code":"resource "cloudflare_record" "TXT__cf-custom-hostname_testwebsite_com" {","start_line":72,"highlight_start_offset":75,"highlight_end_offset":76,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.936658Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.A_secure_testwebsite_com","range":{"filename":"records.tf","start":{"line":10,"column":61,"byte":281},"end":{"line":10,"column":62,"byte":282}},"snippet":{"context":"resource "cloudflare_record" "A_secure_testwebsite_com"","code":"resource "cloudflare_record" "A_secure_testwebsite_com" {","start_line":10,"highlight_start_offset":60,"highlight_end_offset":61,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.937562Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.TXT_testwebsite_com_2","range":{"filename":"records.tf","start":{"line":64,"column":58,"byte":1802},"end":{"line":64,"column":59,"byte":1803}},"snippet":{"context":"resource "cloudflare_record" "TXT_testwebsite_com_2"","code":"resource "cloudflare_record" "TXT_testwebsite_com_2" {","start_line":64,"highlight_start_offset":57,"highlight_end_offset":58,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.938733Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.CNAME_www_testwebsite_com","range":{"filename":"records.tf","start":{"line":47,"column":62,"byte":1362},"end":{"line":47,"column":63,"byte":1363}},"snippet":{"context":"resource "cloudflare_record" "CNAME_www_testwebsite_com"","code":"resource "cloudflare_record" "CNAME_www_testwebsite_com" {","start_line":47,"highlight_start_offset":61,"highlight_end_offset":62,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.939702Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_record.CNAME_cart_testwebsite_com","range":{"filename":"records.tf","start":{"line":38,"column":63,"byte":1130},"end":{"line":38,"column":64,"byte":1131}},"snippet":{"context":"resource "cloudflare_record" "CNAME_cart_testwebsite_com"","code":"resource "cloudflare_record" "CNAME_cart_testwebsite_com" {","start_line":38,"highlight_start_offset":62,"highlight_end_offset":63,"values":[]}},"type":"diagnostic"}
{"@Level":"error","@message":"Error: Request cancelled","@module":"terraform.ui","@timestamp":"2022-03-09T19:53:56.940508Z","diagnostic":{"severity":"error","summary":"Request cancelled","detail":"The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled.","address":"cloudflare_zone_settings_override.testwebsite_com","range":{"filename":"zone.tf","start":{"line":6,"column":68,"byte":174},"end":{"line":6,"column":69,"byte":175}},"snippet":{"context":"resource "cloudflare_zone_settings_override" "testwebsite_com"","code":"resource "cloudflare_zone_settings_override" "testwebsite_com" {","start_line":6,"highlight_start_offset":67,"highlight_end_offset":68,"values":[]}},"type":"diagnostic"}

Stack trace from the terraform-provider-cloudflare_v3.10.0 plugin:

panic: interface conversion: interface {} is nil, not []map[string]interface {}

goroutine 65 [running]:
github.com/cloudflare/terraform-provider-cloudflare/cloudflare.resourceCloudflareRulesetStateUpgradeV0ToV1({0xc000637988, 0x4fbae5}, 0xc00044f560, {0xbed800, 0xc00000e6a0})
github.com/cloudflare/terraform-provider-cloudflare/cloudflare/resource_cloudflare_ruleset_migrate.go:344 +0x1e5
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).upgradeJSONState(0xc0000a3350, {0xe6f398, 0xc00042d440}, 0xbed800, 0xc00000e6a0, 0xc0002a4840)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:424 +0x97
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).UpgradeResourceState(0xc0000a3350, {0xe6f398, 0xc00042d440}, 0xc000070e60)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:300 +0x365
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).UpgradeResourceState(0xc000117180, {0xe6f440, 0xc00007ced0}, 0xc0004656d0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:528 +0x2db
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_UpgradeResourceState_Handler({0xd0bf80, 0xc000117180}, {0xe6f440, 0xc00007ced0}, 0xc00068b920, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:308 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000244c40, {0xe7dd08, 0xc0003a6000}, 0xc000622b40, 0xc00035d230, 0x13b9360, 0x0)
google.golang.org/grpc@v1.44.0/server.go:1282 +0xccf
google.golang.org/grpc.(*Server).handleStream(0xc000244c40, {0xe7dd08, 0xc0003a6000}, 0xc000622b40, 0x0)
google.golang.org/grpc@v1.44.0/server.go:1616 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.44.0/server.go:921 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.44.0/server.go:919 +0x294

Error: The terraform-provider-cloudflare_v3.10.0 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

2022-03-09T19:53:56.940Z [DEBUG] provider: plugin exited

Panic output

No response

Expected output

expected plan to complete without error

Actual output

Stack trace from the terraform-provider-cloudflare_v3.10.0 plugin:

panic: interface conversion: interface {} is nil, not []map[string]interface {}

goroutine 163 [running]:
github.com/cloudflare/terraform-provider-cloudflare/cloudflare.resourceCloudflareRulesetStateUpgradeV0ToV1({0xc0004c7988, 0x4fbae5}, 0xc0003b8d80, {0xbed800, 0xc00028ad78})
github.com/cloudflare/terraform-provider-cloudflare/cloudflare/resource_cloudflare_ruleset_migrate.go:344 +0x1e5
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).upgradeJSONState(0xc00000d338, {0xe6f398, 0xc0003fd700}, 0xbed800, 0xc00028ad78, 0xc00001d090)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:424 +0x97
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).UpgradeResourceState(0xc00000d338, {0xe6f398, 0xc0003fd700}, 0xc000163560)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:300 +0x365
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).UpgradeResourceState(0xc0000f3100, {0xe6f440, 0xc0003b5890}, 0xc00053fe00)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:528 +0x2db
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_UpgradeResourceState_Handler({0xd0bf80, 0xc0000f3100}, {0xe6f440, 0xc0003b5890}, 0xc00059a720, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:308 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00021ac40, {0xe7dd08, 0xc00029e340}, 0xc000579440, 0xc0003b0ed0, 0x13b9360, 0x0)
google.golang.org/grpc@v1.44.0/server.go:1282 +0xccf
google.golang.org/grpc.(*Server).handleStream(0xc00021ac40, {0xe7dd08, 0xc00029e340}, 0xc000579440, 0x0)
google.golang.org/grpc@v1.44.0/server.go:1616 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.44.0/server.go:921 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.44.0/server.go:919 +0x294

Error: The terraform-provider-cloudflare_v3.10.0 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Steps to reproduce

Run a plan with the v3.10.0 plugin

Additional factoids

No response

References

No response

@roccato roccato added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 9, 2022
@lplaceres
Copy link

I have a similar issue. Issue is not present on previous version like v3.9.1

@jacobbednarz
Copy link
Member

thanks @roccato, this was an oversight on my behalf and assumed Terraform wouldn't attempt upgrades for keys it doesn't have.

i've pushed up a fix in #1501 and will cut a release later today if you want to test it out now.

@jacobbednarz jacobbednarz changed the title v3.10.0 broken The plugin.(*GRPCProvider).ReadResource request was cancelled. v3.10.0 failed to upgrade cloudflare_ruleset Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
3 participants