Skip to content

Instantly share code, notes, and snippets.

@cyberbutler
Created May 14, 2020 19:09
Show Gist options
  • Save cyberbutler/39753094328b7a623a5ebc5004e507ac to your computer and use it in GitHub Desktop.
Save cyberbutler/39753094328b7a623a5ebc5004e507ac to your computer and use it in GitHub Desktop.
terraform-namecheap-provider-invalid-record-type.log
2020/05/14 15:04:20 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/14 15:04:20 [INFO] Terraform version: 0.12.25
2020/05/14 15:04:20 [INFO] Go runtime version: go1.12.13
2020/05/14 15:04:20 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "build.tfplan"}
2020/05/14 15:04:20 [DEBUG] Attempting to open CLI config file: /home/cyberbutler/.terraformrc
2020/05/14 15:04:20 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/05/14 15:04:20 [DEBUG] checking for credentials in "/home/cyberbutler/.terraform.d/plugins"
2020/05/14 15:04:20 [INFO] CLI command args: []string{"apply", "build.tfplan"}
2020/05/14 15:04:20 [DEBUG] checking for provider in "."
2020/05/14 15:04:20 [ERROR] ignoring non-file /home/cyberbutler/Infrastructure/Terraform/Namecheap/terraform-provider-namecheap
2020/05/14 15:04:20 [DEBUG] checking for provider in "/usr/local/bin"
2020/05/14 15:04:20 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2020/05/14 15:04:20 [DEBUG] found provider "terraform-provider-digitalocean_v1.18.0_x4"
2020/05/14 15:04:20 [DEBUG] found provider "terraform-provider-http_v1.2.0_x4"
2020/05/14 15:04:20 [DEBUG] checking for provider in "/home/cyberbutler/.terraform.d/plugins"
2020/05/14 15:04:20 [WARN] found legacy provider "terraform-provider-namecheap"
2020/05/14 15:04:20 [DEBUG] found valid plugin: "namecheap", "0.0.0", "/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap"
2020/05/14 15:04:20 [DEBUG] found valid plugin: "digitalocean", "1.18.0", "/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v1.18.0_x4"
2020/05/14 15:04:20 [DEBUG] found valid plugin: "http", "1.2.0", "/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4"
2020/05/14 15:04:20 [DEBUG] checking for provisioner in "."
2020/05/14 15:04:20 [DEBUG] checking for provisioner in "/usr/local/bin"
in ".terraform/plugins/linux_amd64"
2020/05/14 15:04:20 [DEBUG] checking for provisioner in "/home/cyberbutler/.terraform.d/plugins"
2020/05/14 15:04:20 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/14 15:04:20 [INFO] backend/local: starting Apply operation
2020-05-14T15:04:20.754-0400 [INFO] plugin: configuring client automatic mTLS
2020-05-14T15:04:20.783-0400 [DEBUG] plugin: starting plugin: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4 args=[/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4]
2020-05-14T15:04:20.783-0400 [DEBUG] plugin: plugin started: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4 pid=8449
2020-05-14T15:04:20.783-0400 [DEBUG] plugin: waiting for RPC address: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4
2020-05-14T15:04:20.791-0400 [INFO] plugin.terraform-provider-http_v1.2.0_x4: configuring server automatic mTLS: timestamp=2020-05-14T15:04:20.791-0400
2020-05-14T15:04:20.820-0400 [DEBUG] plugin.terraform-provider-http_v1.2.0_x4: plugin address: address=/tmp/plugin806909143 network=unix timestamp=2020-05-14T15:04:20.819-0400
2020-05-14T15:04:20.820-0400 [DEBUG] plugin: using plugin: version=5
2020-05-14T15:04:20.882-0400 [DEBUG] plugin: plugin process exited: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4 pid=8449
2020-05-14T15:04:20.882-0400 [DEBUG] plugin: plugin exited
2020-05-14T15:04:20.882-0400 [INFO] plugin: configuring client automatic mTLS
2020-05-14T15:04:20.910-0400 [DEBUG] plugin: starting plugin: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap args=[/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap]
2020-05-14T15:04:20.911-0400 [DEBUG] plugin: plugin started: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap pid=8456
2020-05-14T15:04:20.911-0400 [DEBUG] plugin: waiting for RPC address: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap
2020-05-14T15:04:20.918-0400 [INFO] plugin.terraform-provider-namecheap: configuring server automatic mTLS: timestamp=2020-05-14T15:04:20.918-0400
2020-05-14T15:04:20.946-0400 [DEBUG] plugin.terraform-provider-namecheap: plugin address: address=/tmp/plugin315748727 network=unix timestamp=2020-05-14T15:04:20.945-0400
2020-05-14T15:04:20.946-0400 [DEBUG] plugin: using plugin: version=5
2020-05-14T15:04:21.008-0400 [DEBUG] plugin: plugin process exited: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap pid=8456
2020-05-14T15:04:21.008-0400 [DEBUG] plugin: plugin exited
2020-05-14T15:04:21.008-0400 [INFO] plugin: configuring client automatic mTLS
2020-05-14T15:04:21.036-0400 [DEBUG] plugin: starting plugin: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v1.18.0_x4 args=[/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v1.18.0_x4]
2020-05-14T15:04:21.038-0400 [DEBUG] plugin: plugin started: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v1.18.0_x4 pid=8462
2020-05-14T15:04:21.038-0400 [DEBUG] plugin: waiting for RPC address: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v1.18.0_x4
2020-05-14T15:04:21.046-0400 [INFO] plugin.terraform-provider-digitalocean_v1.18.0_x4: configuring server automatic mTLS: timestamp=2020-05-14T15:04:21.046-0400
2020-05-14T15:04:21.075-0400 [DEBUG] plugin.terraform-provider-digitalocean_v1.18.0_x4: plugin address: address=/tmp/plugin359244136 network=unix timestamp=2020-05-14T15:04:21.075-0400
2020-05-14T15:04:21.076-0400 [DEBUG] plugin: using plugin: version=5
2020-05-14T15:04:21.155-0400 [DEBUG] plugin: plugin process exited: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v1.18.0_x4 pid=8462
2020-05-14T15:04:21.155-0400 [DEBUG] plugin: plugin exited
2020/05/14 15:04:21 [INFO] backend/local: apply calling Apply
2020/05/14 15:04:21 [INFO] terraform: building graph: GraphTypeApply
2020/05/14 15:04:21 [DEBUG] Resource state not found for node "namecheap_record.record", instance namecheap_record.record
2020/05/14 15:04:21 [DEBUG] adding implicit provider configuration provider.http, implied first by data.http.myip (prepare state)
2020/05/14 15:04:21 [DEBUG] ProviderTransformer: "data.http.myip (prepare state)" (*terraform.NodeApplyableResource) needs provider.http
2020/05/14 15:04:21 [DEBUG] ProviderTransformer: "namecheap_record.record" (*terraform.NodeApplyableResourceInstance) needs provider.namecheap
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "var.nc_token" references: []
c_username var.nc_username data.http.myip (prepare state)]
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "provider.http" references: []
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "namecheap_record.record (prepare state)" references: []
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "data.http.myip (prepare state)" references: []
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "namecheap_record.record" references: []
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "data.digitalocean_droplet.redirector (clean up state)" references: []
2020/05/14 15:04:21 [DEBUG] ReferenceTransformer: "var.nc_username" references: []
2020/05/14 15:04:21 [DEBUG] Starting graph walk: walkApply
2020-05-14T15:04:21.158-0400 [INFO] plugin: configuring client automatic mTLS
2020-05-14T15:04:21.187-0400 [DEBUG] plugin: starting plugin: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4 args=[/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4]
2020-05-14T15:04:21.188-0400 [DEBUG] plugin: plugin started: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4 pid=8469
2020-05-14T15:04:21.188-0400 [DEBUG] plugin: waiting for RPC address: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4
2020-05-14T15:04:21.196-0400 [INFO] plugin.terraform-provider-http_v1.2.0_x4: configuring server automatic mTLS: timestamp=2020-05-14T15:04:21.196-0400
2020-05-14T15:04:21.224-0400 [DEBUG] plugin.terraform-provider-http_v1.2.0_x4: plugin address: address=/tmp/plugin080257265 network=unix timestamp=2020-05-14T15:04:21.224-0400
2020-05-14T15:04:21.225-0400 [DEBUG] plugin: using plugin: version=5
2020-05-14T15:04:21.284-0400 [INFO] plugin: configuring client automatic mTLS
2020-05-14T15:04:21.312-0400 [DEBUG] plugin: starting plugin: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap args=[/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap]
2020-05-14T15:04:21.313-0400 [DEBUG] plugin: plugin started: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap pid=8476
2020-05-14T15:04:21.313-0400 [DEBUG] plugin: waiting for RPC address: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap
2020-05-14T15:04:21.322-0400 [INFO] plugin.terraform-provider-namecheap: configuring server automatic mTLS: timestamp=2020-05-14T15:04:21.322-0400
2020-05-14T15:04:21.350-0400 [DEBUG] plugin.terraform-provider-namecheap: plugin address: network=unix address=/tmp/plugin179601223 timestamp=2020-05-14T15:04:21.350-0400
2020-05-14T15:04:21.350-0400 [DEBUG] plugin: using plugin: version=5
2020-05-14T15:04:21.352-0400 [DEBUG] plugin: plugin process exited: path=/home/cyberbutler/Infrastructure/Terraform/Namecheap/.terraform/plugins/linux_amd64/terraform-provider-http_v1.2.0_x4 pid=8469
2020-05-14T15:04:21.352-0400 [DEBUG] plugin: plugin exited
namecheap_record.record: Creating...
2020/05/14 15:04:21 [WARN] Provider "registry.terraform.io/-/namecheap" produced an invalid plan for namecheap_record.record, 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:
- .ttl: planned value cty.NumberIntVal(1799) does not match config value cty.NullVal(cty.Number)
- .mx_pref: planned value cty.NumberIntVal(10) does not match config value cty.NullVal(cty.Number)
2020/05/14 15:04:21 [DEBUG] namecheap_record.record: applying the planned Create change
2020-05-14T15:04:22.019-0400 [DEBUG] plugin.terraform-provider-namecheap: 2020/05/14 15:04:22 [INFO] Err: Invalid record type, allowed types="A, AAAA, ALIAS, CAA, CNAME, MX, MXE, TXT, URL, URL301, FRAME"
2020/05/14 15:04:22 [DEBUG] namecheap_record.record: apply errored, but we're indicating that via the Error pointer rather than returning it: Failed to create namecheap Record: Invalid record type, allowed types="A, AAAA, ALIAS, CAA, CNAME, MX, MXE, TXT, URL, URL301, FRAME"
2020/05/14 15:04:22 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: Failed to create namecheap Record: Invalid record type, allowed types="A, AAAA, ALIAS, CAA, CNAME, MX, MXE, TXT, URL, URL301, FRAME"
2020/05/14 15:04:22 [ERROR] <root>: eval: *terraform.EvalSequence, err: Failed to create namecheap Record: Invalid record type, allowed types="A, AAAA, ALIAS, CAA, CNAME, MX, MXE, TXT, URL, URL301, FRAME"

Error: Failed to create namecheap Record: Invalid record type, allowed types="A, AAAA, ALIAS, CAA, CNAME, MX, MXE, TXT, URL, URL301, FRAME"
 on namecheap.tf line 1, in resource "namecheap_record" "record":
1: resource namecheap_record "record" {


2020-05-14T15:04:22.023-0400 [DEBUG] plugin: plugin process exited: path=/home/cyberbutler/.terraform.d/plugins/terraform-provider-namecheap pid=8476
2020-05-14T15:04:22.023-0400 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment