➜ cdntest git:(testSetup) ✗ terraform apply -auto-approve <aws:terraform>
2022-03-07T20:31:46.458Z [INFO] Terraform version: 1.1.7
2022-03-07T20:31:46.458Z [INFO] Go runtime version: go1.17.2
2022-03-07T20:31:46.458Z [INFO] CLI args: []string{"terraform", "apply", "-auto-approve"}
2022-03-07T20:31:46.458Z [DEBUG] Attempting to open CLI config file: /Users/aled/.terraformrc
2022-03-07T20:31:46.458Z [INFO] Loading CLI configuration from /Users/aled/.terraformrc
2022-03-07T20:31:46.459Z [INFO] Loading CLI configuration from /Users/aled/.terraform.d/credentials.tfrc.json
2022-03-07T20:31:46.459Z [DEBUG] Explicit provider installation configuration is set
2022-03-07T20:31:46.459Z [INFO] CLI command args: []string{"apply", "-auto-approve"}
2022-03-07T20:31:46.461Z [DEBUG] New state was assigned lineage "84644d37-dc45-7ba3-1ffc-d8ca35301f68"
2022-03-07T20:31:46.476Z [DEBUG] checking for provisioner in "."
2022-03-07T20:31:46.481Z [DEBUG] checking for provisioner in "/opt/homebrew/bin"
2022-03-07T20:31:46.483Z [INFO] backend/local: starting Apply operation
2022-03-07T20:31:46.486Z [DEBUG] created provider logger: level=debug
2022-03-07T20:31:46.486Z [INFO] provider: configuring client automatic mTLS
2022-03-07T20:31:46.497Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1]
2022-03-07T20:31:46.499Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84941
2022-03-07T20:31:46.499Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1
2022-03-07T20:31:46.513Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: configuring server automatic mTLS: timestamp=2022-03-07T20:31:46.513Z
2022-03-07T20:31:46.521Z [DEBUG] provider: using plugin: version=5
2022-03-07T20:31:46.521Z [DEBUG] provider.terraform-provider-cloudflare_v3.9.1: plugin address: address=/var/folders/zt/1hnkb2rn4kx05dhztp2kf91w0000gp/T/plugin2472151077 network=unix timestamp=2022-03-07T20:31:46.521Z
2022-03-07T20:31:46.544Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-07T20:31:46.545Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84941
2022-03-07T20:31:46.545Z [DEBUG] provider: plugin exited
2022-03-07T20:31:46.545Z [DEBUG] Building and walking validate graph
2022-03-07T20:31:46.546Z [DEBUG] ProviderTransformer: "cloudflare_record.record" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-07T20:31:46.546Z [DEBUG] ReferenceTransformer: "var.cloudflare_api_token" references: []
2022-03-07T20:31:46.546Z [DEBUG] ReferenceTransformer: "var.cloudflare_account_id" references: []
2022-03-07T20:31:46.547Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [var.cloudflare_account_id var.cloudflare_api_token]
2022-03-07T20:31:46.547Z [DEBUG] ReferenceTransformer: "cloudflare_record.record" references: []
2022-03-07T20:31:46.547Z [DEBUG] Starting graph walk: walkValidate
2022-03-07T20:31:46.548Z [DEBUG] created provider logger: level=debug
2022-03-07T20:31:46.548Z [INFO] provider: configuring client automatic mTLS
2022-03-07T20:31:46.555Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1]
2022-03-07T20:31:46.556Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84942
2022-03-07T20:31:46.556Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1
2022-03-07T20:31:46.564Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: configuring server automatic mTLS: timestamp=2022-03-07T20:31:46.564Z
2022-03-07T20:31:46.571Z [DEBUG] provider: using plugin: version=5
2022-03-07T20:31:46.571Z [DEBUG] provider.terraform-provider-cloudflare_v3.9.1: plugin address: address=/var/folders/zt/1hnkb2rn4kx05dhztp2kf91w0000gp/T/plugin4174902325 network=unix timestamp=2022-03-07T20:31:46.571Z
2022-03-07T20:31:46.593Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-07T20:31:46.593Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84942
2022-03-07T20:31:46.593Z [DEBUG] provider: plugin exited
2022-03-07T20:31:46.593Z [INFO] backend/local: apply calling Plan
2022-03-07T20:31:46.593Z [DEBUG] Building and walking plan graph for NormalMode
2022-03-07T20:31:46.593Z [DEBUG] ProviderTransformer: "cloudflare_record.record (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-07T20:31:46.594Z [DEBUG] ReferenceTransformer: "cloudflare_record.record (expand)" references: []
2022-03-07T20:31:46.594Z [DEBUG] ReferenceTransformer: "var.cloudflare_api_token" references: []
2022-03-07T20:31:46.594Z [DEBUG] ReferenceTransformer: "var.cloudflare_account_id" references: []
2022-03-07T20:31:46.594Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [var.cloudflare_account_id var.cloudflare_api_token]
2022-03-07T20:31:46.594Z [DEBUG] Starting graph walk: walkPlan
2022-03-07T20:31:46.594Z [DEBUG] created provider logger: level=debug
2022-03-07T20:31:46.594Z [INFO] provider: configuring client automatic mTLS
2022-03-07T20:31:46.601Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1]
2022-03-07T20:31:46.603Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84943
2022-03-07T20:31:46.603Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1
2022-03-07T20:31:46.610Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: configuring server automatic mTLS: timestamp=2022-03-07T20:31:46.610Z
2022-03-07T20:31:46.617Z [DEBUG] provider: using plugin: version=5
2022-03-07T20:31:46.617Z [DEBUG] provider.terraform-provider-cloudflare_v3.9.1: plugin address: address=/var/folders/zt/1hnkb2rn4kx05dhztp2kf91w0000gp/T/plugin3677279623 network=unix timestamp=2022-03-07T20:31:46.617Z
2022-03-07T20:31:46.636Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" changed the config value, but that value is unused
2022-03-07T20:31:46.636Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [INFO] Cloudflare Client configured for user:: timestamp=2022-03-07T20:31:46.636Z
2022-03-07T20:31:46.636Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [INFO] Using specified account id CompanyId in Cloudflare provider: timestamp=2022-03-07T20:31:46.636Z
2022-03-07T20:31:46.636Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [INFO] Cloudflare Client configured for user:: timestamp=2022-03-07T20:31:46.636Z
2022-03-07T20:31:46.637Z [DEBUG] Resource instance state not found for node "cloudflare_record.record", instance cloudflare_record.record
2022-03-07T20:31:46.637Z [DEBUG] ReferenceTransformer: "cloudflare_record.record" references: []
2022-03-07T20:31:46.637Z [DEBUG] refresh: cloudflare_record.record: no state, so not refreshing
2022-03-07T20:31:46.640Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-07T20:31:46.640Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84943
2022-03-07T20:31:46.640Z [DEBUG] provider: plugin exited
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# cloudflare_record.record will be created
+ resource "cloudflare_record" "record" {
+ allow_overwrite = true
+ created_on = (known after apply)
+ hostname = (known after apply)
+ id = (known after apply)
+ metadata = (known after apply)
+ modified_on = (known after apply)
+ name = "NAME_PLACEHOLDER"
+ proxiable = (known after apply)
+ proxied = false
+ ttl = 60
+ type = "CNAME"
+ value = "VALUE_PLACEHOLDER"
+ zone_id = "ZONE_ID"
}
Plan: 1 to add, 0 to change, 0 to destroy.
2022-03-07T20:31:46.641Z [INFO] backend/local: apply calling Apply
2022-03-07T20:31:46.641Z [DEBUG] Building and walking apply graph for NormalMode plan
2022-03-07T20:31:46.642Z [DEBUG] Resource state not found for node "cloudflare_record.record", instance cloudflare_record.record
2022-03-07T20:31:46.642Z [DEBUG] ProviderTransformer: "cloudflare_record.record (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-07T20:31:46.642Z [DEBUG] ProviderTransformer: "cloudflare_record.record" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-03-07T20:31:46.642Z [DEBUG] ReferenceTransformer: "cloudflare_record.record (expand)" references: []
2022-03-07T20:31:46.642Z [DEBUG] ReferenceTransformer: "var.cloudflare_api_token" references: []
2022-03-07T20:31:46.642Z [DEBUG] ReferenceTransformer: "var.cloudflare_account_id" references: []
2022-03-07T20:31:46.642Z [DEBUG] ReferenceTransformer: "cloudflare_record.record" references: []
2022-03-07T20:31:46.642Z [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [var.cloudflare_account_id var.cloudflare_api_token]
2022-03-07T20:31:46.642Z [DEBUG] Starting graph walk: walkApply
2022-03-07T20:31:46.642Z [DEBUG] created provider logger: level=debug
2022-03-07T20:31:46.642Z [INFO] provider: configuring client automatic mTLS
2022-03-07T20:31:46.649Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1]
2022-03-07T20:31:46.651Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84944
2022-03-07T20:31:46.651Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1
2022-03-07T20:31:46.659Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: configuring server automatic mTLS: timestamp=2022-03-07T20:31:46.659Z
2022-03-07T20:31:46.666Z [DEBUG] provider.terraform-provider-cloudflare_v3.9.1: plugin address: address=/var/folders/zt/1hnkb2rn4kx05dhztp2kf91w0000gp/T/plugin214156201 network=unix timestamp=2022-03-07T20:31:46.666Z
2022-03-07T20:31:46.667Z [DEBUG] provider: using plugin: version=5
2022-03-07T20:31:46.685Z [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" changed the config value, but that value is unused
2022-03-07T20:31:46.685Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [INFO] Cloudflare Client configured for user:: timestamp=2022-03-07T20:31:46.685Z
2022-03-07T20:31:46.685Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [INFO] Using specified account id CompanyId in Cloudflare provider: timestamp=2022-03-07T20:31:46.685Z
2022-03-07T20:31:46.685Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [INFO] Cloudflare Client configured for user:: timestamp=2022-03-07T20:31:46.685Z
cloudflare_record.record: Creating...
2022-03-07T20:31:46.688Z [INFO] Starting apply for cloudflare_record.record
2022-03-07T20:31:46.688Z [DEBUG] cloudflare_record.record: applying the planned Create change
2022-03-07T20:31:46.689Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [DEBUG] setting computed for "metadata" from ComputedKeys: timestamp=2022-03-07T20:31:46.689Z
2022-03-07T20:31:46.689Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [DEBUG] Data found in config: []interface {}{}: timestamp=2022-03-07T20:31:46.689Z
2022-03-07T20:31:46.689Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [DEBUG] Cloudflare Record create configuration: cloudflare.DNSRecord{CreatedOn:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ModifiedOn:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Type:"CNAME", Name:"NAME_PLACEHOLDER", Content:"VALUE_PLACEHOLDER", Meta:interface {}(nil), Data:interface {}(nil), ID:"", ZoneID:"ZONE_ID", ZoneName:"", Priority:(*uint16)(nil), TTL:60, Proxied:(*bool)(0x140006346d8), Proxiable:false, Locked:false}: timestamp=2022-03-07T20:31:46.689Z
2022-03-07T20:31:46.689Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [DEBUG] Waiting for state to become: [success]: timestamp=2022-03-07T20:31:46.689Z
2022-03-07T20:31:46.689Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:46 [DEBUG] Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
POST /client/v4/zones/ZONE_ID/dns_records HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.1.7 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.9.1
Content-Length: 284
Authorization: Bearer API_KEY
Content-Type: application/json
Accept-Encoding: gzip
{
"created_on": "0001-01-01T00:00:00Z",
"modified_on": "0001-01-01T00:00:00Z",
"type": "CNAME",
"name": "NAME_PLACEHOLDER",
"content": "VALUE_PLACEHOLDER",
"zone_id": "ZONE_ID",
"ttl": 60,
"proxied": false
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:46.689Z
2022-03-07T20:31:48.123Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:48 [DEBUG] Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 400 Bad Request
Cf-Cache-Status: DYNAMIC
Cf-Ray: 6e8618bea974bfbb-MAN
Content-Type: application/json
Date: Mon, 07 Mar 2022 20:31:48 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhpkN1nzAaHid; SameSite=Lax; path=/; expires=Mon, 07-Mar-22 23:01:49 GMT; HttpOnly
Set-Cookie: __cfruid=96250f5b35e0ffcf4279101fcb47123c1b58210b-1646685108; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
X-Envoy-Upstream-Service-Time: 15
{
"result": null,
"success": false,
"errors": [
{
"code": 81053,
"message": "An A, AAAA, or CNAME record with that host already exists."
}
],
"messages": []
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:48.123Z
2022-03-07T20:31:48.124Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:48 [DEBUG] Cloudflare Record already exists however we are overwriting it: timestamp=2022-03-07T20:31:48.123Z
2022-03-07T20:31:48.125Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:48 [DEBUG] Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/zones/ZONE_ID HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.1.7 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.9.1
Authorization: Bearer API_KEY
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp=2022-03-07T20:31:48.124Z
2022-03-07T20:31:49.417Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:49 [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: 6e8618c6984154bd-MAN
Content-Type: application/json
Date: Mon, 07 Mar 2022 20:31:49 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=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhpv4gonz4tz9; SameSite=Lax; path=/; expires=Mon, 07-Mar-22 23:01:50 GMT; HttpOnly
Set-Cookie: __cfruid=db20cb72fc998aa68f353510eb1a49f86b65c14b-1646685109; 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": "ZONE_ID",
"name": "ZONE.COM",
"status": "active",
"paused": false,
"type": "full",
"development_mode": 0,
"name_servers": [
"nolan.ns.cloudflare.com",
"sky.ns.cloudflare.com"
],
"original_name_servers": [
"ns-1330.awsdns-38.org",
"ns-2016.awsdns-60.co.uk",
"ns-498.awsdns-62.com",
"ns-773.awsdns-32.net"
],
"original_registrar": "amazon registrar, inc. (id: 468)",
"original_dnshost": null,
"modified_on": "2022-02-16T15:40:23.232687Z",
"created_on": "2021-11-22T10:32:20.831096Z",
"activated_on": "2021-11-23T15:31:47.724859Z",
"vanity_name_servers": [],
"vanity_name_servers_ips": null,
"meta": {
"step": 2,
"wildcard_proxiable": true,
"custom_certificate_quota": 1,
"page_rule_quota": 100,
"phishing_detected": false,
"multiple_railguns_allowed": false
},
"owner": {
"id": "CompanyId",
"type": "organization",
"name": "Company"
},
"account": {
"id": "CompanyId",
"name": "Company"
},
"permissions": [
"#access:edit",
"#access:read",
"#analytics:read",
"#app:edit",
"#auditlogs:read",
"#billing:read",
"#cache_purge:edit",
"#dns_records:edit",
"#dns_records:read",
"#healthchecks:edit",
"#healthchecks:read",
"#lb:edit",
"#lb:read",
"#legal:read",
"#logs:edit",
"#logs:read",
"#member:read",
"#organization:edit",
"#organization:read",
"#ssl:edit",
"#ssl:read",
"#stream:edit",
"#stream:read",
"#subscription:edit",
"#subscription:read",
"#teams:edit",
"#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": {
"id": "94f3b7b768b0458b56d2cac4fe5ec0f9",
"name": "Enterprise Website",
"price": 0,
"currency": "USD",
"frequency": "",
"is_subscribed": true,
"can_subscribe": true,
"legacy_id": "enterprise",
"legacy_discount": false,
"externally_managed": true
}
},
"success": true,
"errors": [],
"messages": []
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:49.416Z
2022-03-07T20:31:49.418Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:49 [DEBUG] Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/zones/ZONE_ID/dns_records?name=NAME_PLACEHOLDER.ZONE.COM&page=1&type=CNAME HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.1.7 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.9.1
Authorization: Bearer API_KEY
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp=2022-03-07T20:31:49.418Z
2022-03-07T20:31:50.679Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:50 [DEBUG] Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 6e8618ce9aff54bd-MAN
Content-Type: application/json
Date: Mon, 07 Mar 2022 20:31:50 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhq5mMpboZWFf; SameSite=Lax; path=/; expires=Mon, 07-Mar-22 23:01:51 GMT; HttpOnly
Set-Cookie: __cfruid=267db35f734405b1724d355fda3e6a9a21bda17e-1646685110; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
X-Envoy-Upstream-Service-Time: 12
{
"result": [
{
"id": "RECORD_ID",
"zone_id": "ZONE_ID",
"zone_name": "ZONE.COM",
"name": "NAME_PLACEHOLDER.ZONE.COM",
"type": "CNAME",
"content": "VALUE_PLACEHOLDER",
"proxiable": true,
"proxied": false,
"ttl": 60,
"locked": false,
"meta": {
"auto_added": false,
"managed_by_apps": false,
"managed_by_argo_tunnel": false,
"source": "primary"
},
"created_on": "2022-03-07T20:30:17.603507Z",
"modified_on": "2022-03-07T20:30:17.603507Z"
}
],
"success": true,
"errors": [],
"messages": [],
"result_info": {
"page": 1,
"per_page": 100,
"count": 1,
"total_count": 1,
"total_pages": 1
}
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:50.678Z
2022-03-07T20:31:50.679Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:50 [DEBUG] Data found in config: []interface {}{}: timestamp=2022-03-07T20:31:50.679Z
2022-03-07T20:31:50.680Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:50 [DEBUG] Cloudflare Record update configuration: cloudflare.DNSRecord{CreatedOn:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), ModifiedOn:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Type:"CNAME", Name:"NAME_PLACEHOLDER", Content:"VALUE_PLACEHOLDER", Meta:interface {}(nil), Data:interface {}(nil), ID:"RECORD_ID", ZoneID:"ZONE_ID", ZoneName:"", Priority:(*uint16)(nil), TTL:60, Proxied:(*bool)(0x140005525f6), Proxiable:false, Locked:false}: timestamp=2022-03-07T20:31:50.679Z
2022-03-07T20:31:50.680Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:50 [DEBUG] Waiting for state to become: [success]: timestamp=2022-03-07T20:31:50.679Z
2022-03-07T20:31:50.681Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:50 [DEBUG] Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
PATCH /client/v4/zones/ZONE_ID/dns_records/RECORD_ID HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.1.7 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.9.1
Content-Length: 324
Authorization: Bearer API_KEY
Content-Type: application/json
Accept-Encoding: gzip
{
"created_on": "0001-01-01T00:00:00Z",
"modified_on": "0001-01-01T00:00:00Z",
"type": "CNAME",
"name": "NAME_PLACEHOLDER",
"content": "VALUE_PLACEHOLDER",
"id": "RECORD_ID",
"zone_id": "ZONE_ID",
"ttl": 60,
"proxied": false
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:50.680Z
2022-03-07T20:31:51.804Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:51 [DEBUG] Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 6e8618d6785a35d7-MAN
Content-Type: application/json
Date: Mon, 07 Mar 2022 20:31:51 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhqFU2qQd47XB; SameSite=Lax; path=/; expires=Mon, 07-Mar-22 23:01:52 GMT; HttpOnly
Set-Cookie: __cfruid=4ccf827800b0af3db3ebde1b406289ad38ac7dee-1646685111; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
X-Envoy-Upstream-Service-Time: 13
{
"result": {
"id": "RECORD_ID",
"zone_id": "ZONE_ID",
"zone_name": "ZONE.COM",
"name": "NAME_PLACEHOLDER.ZONE.COM",
"type": "CNAME",
"content": "VALUE_PLACEHOLDER",
"proxiable": true,
"proxied": false,
"ttl": 60,
"locked": false,
"meta": {
"auto_added": false,
"managed_by_apps": false,
"managed_by_argo_tunnel": false
},
"created_on": "2022-03-07T20:30:17.603507Z",
"modified_on": "2022-03-07T20:30:17.603507Z"
},
"success": true,
"errors": [],
"messages": []
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:51.804Z
2022-03-07T20:31:51.805Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:51 [DEBUG] Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/zones/ZONE_ID/dns_records/RECORD_ID HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.1.7 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/3.9.1
Authorization: Bearer API_KEY
Content-Type: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp=2022-03-07T20:31:51.804Z
2022-03-07T20:31:53.049Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:53 [DEBUG] Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 6e8618dd7b0554e1-MAN
Content-Type: application/json
Date: Mon, 07 Mar 2022 20:31:53 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU56Rb8iNWZVUvXhqRAhrDSYinh; SameSite=Lax; path=/; expires=Mon, 07-Mar-22 23:01:54 GMT; HttpOnly
Set-Cookie: __cfruid=bfd1a526bae46653b795e8e067aefce380e9ed49-1646685113; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
X-Envoy-Upstream-Service-Time: 12
{
"result": {
"id": "RECORD_ID",
"zone_id": "ZONE_ID",
"zone_name": "ZONE.COM",
"name": "NAME_PLACEHOLDER.ZONE.COM",
"type": "CNAME",
"content": "VALUE_PLACEHOLDER",
"proxiable": true,
"proxied": false,
"ttl": 60,
"locked": false,
"meta": {
"auto_added": false,
"managed_by_apps": false,
"managed_by_argo_tunnel": false,
"source": "primary"
},
"created_on": "2022-03-07T20:30:17.603507Z",
"modified_on": "2022-03-07T20:30:17.603507Z"
},
"success": true,
"errors": [],
"messages": []
}
-----------------------------------------------------: timestamp=2022-03-07T20:31:53.049Z
2022-03-07T20:31:53.050Z [INFO] provider.terraform-provider-cloudflare_v3.9.1: 2022/03/07 20:31:53 [DEBUG] Data found in config: []interface {}{}: timestamp=2022-03-07T20:31:53.049Z
2022-03-07T20:31:53.073Z [ERROR] vertex "cloudflare_record.record" error: empty non-retryable error received. This is a bug with the Terraform provider and should be reported as a GitHub issue in the provider repository.
╷
│ Error: empty non-retryable error received. This is a bug with the Terraform provider and should be reported as a GitHub issue in the provider repository.
│
│ with cloudflare_record.record,
│ on main.tf line 43, in resource "cloudflare_record" "record":
│ 43: resource "cloudflare_record" "record" {
│
╵
2022-03-07T20:31:53.095Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-03-07T20:31:53.096Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.9.1/darwin_arm64/terraform-provider-cloudflare_v3.9.1 pid=84944
2022-03-07T20:31:53.096Z [DEBUG] provider: plugin exited
Created
March 7, 2022 20:42
-
-
Save Skyrail/988a48e71178721b0bbfedfec1065193 to your computer and use it in GitHub Desktop.
Terraform CloudFlare Provider Error 7th March 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment