Created
July 30, 2020 15:02
-
-
Save jimrubenstein/9e326175b1093c1bb38ced0f526ace79 to your computer and use it in GitHub Desktop.
Terraform Debug Output for DME Provider Not Updating or Destroy/Creating CNAME record
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020/07/30 10:40:45 [DEBUG] module.domain_com.dme_dns_record.web: applying the planned Create change | |
2020/07/30 10:40:45 [TRACE] GRPCProvider: ApplyResourceChange | |
2020-07-30T10:40:45.424-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:45 Value of recordAttr: &{www tls-domain-com-1300190496.us-east-1.elb.amazonaws.com. CNAME 300 } | |
2020-07-30T10:40:45.424-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:45 Inside model: recordmap values: map[] | |
2020-07-30T10:40:45.424-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:45 RECORD VAlues inside model: &{www tls-domain-com-1300190496.us-east-1.elb.amazonaws.com. CNAME 300 } | |
2020-07-30T10:40:45.424-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:45 Inside model:after recordmap values: map[name:www ttl:300 type:CNAME value:tls-domain-com-1300190496.us-east-1.elb.amazonaws.com.] | |
2020-07-30T10:40:45.424-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:45 Payload is : {"name":"www","ttl":"300","type":"CNAME","value":"tls-domain-com-1300190496.us-east-1.elb.amazonaws.com."} | |
2020-07-30T10:40:45.425-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:45 Request made : &{POST https://api.dnsmadeeasy.com/V2.0/dns/managed/XXXXXX/records/ HTTP/1.1 1 1 map[Content-Type:[application/json] X-Dnsme-Apikey:[XXXX] X-Dnsme-Hmac:[64d063a13a98c949ffb8f55f84a075ac5e87ccc9] X-Dnsme-Requestdate:[Thu, 30 Jul 2020 14:40:45 GMT]] {{"name":"www","ttl":"300","type":"CNAME","value":"tls-domain-com-1300190496.us-east-1.elb.amazonaws.com."}} 0x135f630 118 [] false api.dnsmadeeasy.com map[] map[] <nil> map[] <nil> <nil> <nil> 0xc0000380b0} | |
2020-07-30T10:40:46.380-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:46 Response is : &{400 Bad Request 400 HTTP/1.1 1 1 map[Content-Type:[application/json] Date:[Thu, 30 Jul 2020 14:40:45 GMT] Server:[Apache-Coyote/1.1] Set-Cookie:[XXXX; Path=/V2.0; Secure; HttpOnly] X-Dnsme-Requestid:[6383afae-0615-45eb-9bd4-f4d580cd6c07] X-Dnsme-Requestlimit:[150] X-Dnsme-Requestsremaining:[147]] 0xc00009a540 -1 [chunked] true false map[] 0xc0008c6100 0xc00042b3f0} | |
2020-07-30T10:40:46.380-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:46 Into the check for errors | |
2020-07-30T10:40:46.380-0400 [DEBUG] plugin.terraform-provider-dme_v0.1.1_x4: 2020/07/30 10:40:46 Error returned: A CNAME record already exists with this name.CNAME records are required to be unique values. There is a record in this domain that already exists with this name.Record with this type (CNAME), name (www), and value (tls-domain-com-1300190496.us-east-1.elb.amazonaws.com.) already exists. | |
2020/07/30 10:40:46 [DEBUG] module.domain_com.dme_dns_record.web: apply errored, but we're indicating that via the Error pointer rather than returning it: A CNAME record already exists with this name.CNAME records are required to be unique values. There is a record in this domain that already exists with this name.Record with this type (CNAME), name (www), and value (tls-domain-com-1300190496.us-east-1.elb.amazonaws.com.) already exists. | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalMaybeTainted | |
2020/07/30 10:40:46 [TRACE] EvalMaybeTainted: module.domain_com.dme_dns_record.web encountered an error during creation, so it is now marked as tainted | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalWriteState | |
2020/07/30 10:40:46 [TRACE] EvalWriteState: removing state object for module.domain_com.dme_dns_record.web | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalApplyProvisioners | |
2020/07/30 10:40:46 [TRACE] EvalApplyProvisioners: dme_dns_record.web has no state, so skipping provisioners | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalMaybeTainted | |
2020/07/30 10:40:46 [TRACE] EvalMaybeTainted: module.domain_com.dme_dns_record.web encountered an error during creation, so it is now marked as tainted | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalWriteState | |
2020/07/30 10:40:46 [TRACE] EvalWriteState: removing state object for module.domain_com.dme_dns_record.web | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalIf | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalIf | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalWriteDiff | |
2020/07/30 10:40:46 [TRACE] module.domain_com: eval: *terraform.EvalApplyPost | |
2020/07/30 10:40:46 [ERROR] module.domain_com: eval: *terraform.EvalApplyPost, err: A CNAME record already exists with this name.CNAME records are required to be unique values. There is a record in this domain that already exists with this name.Record with this type (CNAME), name (www), and value (tls-domain-com-1300190496.us-east-1.elb.amazonaws.com.) already exists. | |
2020/07/30 10:40:46 [ERROR] module.domain_com: eval: *terraform.EvalSequence, err: A CNAME record already exists with this name.CNAME records are required to be unique values. There is a record in this domain that already exists with this name.Record with this type (CNAME), name (www), and value (tls-domain-com-1300190496.us-east-1.elb.amazonaws.com.) already exists. | |
2020/07/30 10:40:46 [TRACE] [walkApply] Exiting eval tree: module.domain_com.dme_dns_record.web | |
2020/07/30 10:40:46 [TRACE] vertex "module.domain_com.dme_dns_record.web": visit complete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment