[BUG] Input validation for civo_dns_domain_record
name
field
#211
Labels
bug
Something isn't working
civo_dns_domain_record
name
field
#211
Description
Situation:
When attempting to create a
civo_dns_domain_record
with aname
of the formatfoo.bar.baz
, and there is an existingcivo_dns_domain_name
withname
bar.baz
, the provider truncates the domain record'sname
value quietly tofoo
. The docs do point out that this is the expected input for this field, so some of this is user error, but it's an honest mistake to make, IMO.This results in a permanent diff on every subsequent
terraform plan
.What I would expect:
Initial
terraform apply
fails with an invalid input error.Screenshots
Sample code:
First apply succeeds, thereafter
terraform plan
shows the following:Output of Terraform version
Additional information
No response
The text was updated successfully, but these errors were encountered: