Our documentation state - domain : (String) See notes target record for test, suffixed by record type (ie, www.thousandeyes.com CNAME). If no record type is specified, the test will default to an ANY record.Documentation
However when creating a test (DNS Trace or DNSSEC) without suffixing the domain with any DNS record type, the record type doesn't default to ANY as mentioned and instead throws the error -
Error: invalid value for domain (must suffix with record type; check ThousandEyes Developer Reference for more information)
with thousandeyes_dnssec.example_dnssec_test,
on test1.tf line 20, in resource "thousandeyes_dnssec" "example_dnssec_test":
20: domain = "www.thousandeyes.com"
Test Resource Call -
resource "thousandeyes_dns_trace" "example_dns_trace_test" {
test_name = "Example DNS Trace test set from Terraform provider"
interval = 120
alerts_enabled = false
domain = "www.thousandeyes.com"
agents {
agent_id = 3 # Singapur
}
}
Our documentation state - domain : (String) See notes target record for test, suffixed by record type (ie, www.thousandeyes.com CNAME). If no record type is specified, the test will default to an ANY record. Documentation
However when creating a test (DNS Trace or DNSSEC) without suffixing the domain with any DNS record type, the record type doesn't default to ANY as mentioned and instead throws the error -
Test Resource Call -