You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After #150, I successfully imported a few CNAME RRs.
But when I added other CNAME RRs in my config and tried to change an existing resource from type A to CNAME, both operations failed with the same error (just pasting one of them, ofc):
│ Error: PUT 'https://my.mk/rest/ip/dns/static' returned response code: 400, message: 'Bad Request', details: 'invalid value for argument address:
│ invalid value for argument ip
│ invalid value for argument ipv6'
│
│ with routeros_ip_dns_record.new_cname,
│ on dns.tf line 14, in resource "routeros_ip_dns_record" "new_cname":
│ 14: resource "routeros_ip_dns_record" "ros" {
│
To Reproduce
# This RR is expected to be addedresource"routeros_ip_dns_record""new_cname" {
name="new.cname.local"type="CNAME"address="existing.a.rr.local"
}
# This exists as an A RR, change type to CNAMEresource"routeros_ip_dns_record""existing_rr_change_type" {
name="another.cname.local"type="CNAME"address="existing.a.rr.local"
}
Expected behavior
These operations should succeed with no error.
The text was updated successfully, but these errors were encountered:
Describe the bug
After #150, I successfully imported a few
CNAME
RRs.But when I added other
CNAME
RRs in my config and tried to change an existing resource from typeA
toCNAME
, both operations failed with the same error (just pasting one of them, ofc):To Reproduce
Expected behavior
These operations should succeed with no error.
The text was updated successfully, but these errors were encountered: