Skip to content

Instantly share code, notes, and snippets.

@xabim
Created July 4, 2018 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xabim/807230a41aaceb2699d426d1f9b8e88a to your computer and use it in GitHub Desktop.
Save xabim/807230a41aaceb2699d426d1f9b8e88a to your computer and use it in GitHub Desktop.
Terraform-Cloudflare-Issue
2018-07-04T11:57:25.165+0200 [DEBUG] plugin.terraform-provider-cloudflare_v1.0.0_x4:
2018/07/04 11:57:25 [DEBUG] CloudFlare Record create configuration: cloudflare.DNSRecord{
ID:"",
Type:"SRV",
Name:"_sipfederationtls._tcp.DOMAIN.com",
Content:"",
Proxiable:false,
Proxied:false,
TTL:0, Locked:false,
ZoneID:"e51da254a970ea32cd0a36f6189f8186",
ZoneName:"DOMAIN.com", CreatedOn:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)},
ModifiedOn:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)},
Data:map[string]interface {}{
"weight":"1",
"service":"_sipfederationtls",
"target":"sipfed.online.lync.com.",
"priority":"100", "proto":"_tcp",
"port":"443",
"name":"DOMAIN.com."},
Meta:interface {}(nil),Priority:0}
2018/07/04 11:57:25 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* cloudflare_record._sipfederationtls_tcp_SRV: Failed to create record: error from makeRequest: HTTP status 400: content "{\"success\":false,\"errors\":[{\"code\":1004,\"message\":\"DNS Validation Error\",\"error_chain\":[{\"code\":9104,\"message\":\"weight must be an int between 0 and 65535.\"}]}],\"messages\":[],\"result\":null}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment