Open LanceSandino opened 3 years ago
I'm seeing the same problem with constellix_aname_record
resources
resource "constellix_aname_record" "w" {
domain_id = constellix_domain.main.id
name = "w"
source_type = "domains"
record_option = "roundRobin"
ttl = 3600
note = ""
roundrobin {
value = "foo.bar.ap-southeast-2.elb.amazonaws.com."
disable_flag = "false"
}
}
After import, this is the delta detected after running terraform plan
.
# module.foo.constellix_aname_record.w will be updated in-place
~ resource "constellix_aname_record" "w" {
contact_ids = []
domain_id = "460964"
geo_location = {}
gtd_region = 1
id = "6555475"
name = "w"
noanswer = false
pools = []
record_failover_disable_flag = "false"
record_option = "roundRobin"
source_type = "domains"
ttl = 3600
type = "ANAME"
+ roundrobin {
+ disable_flag = false
+ value = "foo.bar.ap-southeast-2.elb.amazonaws.com."
}
}
terraform show
is missing the roundrobin
block.
# module.foo.constellix_aname_record.w:
resource "constellix_aname_record" "w" {
contact_ids = []
domain_id = "460964"
geo_location = {}
gtd_region = 1
id = "6555475"
name = "w"
noanswer = false
pools = []
record_failover_disable_flag = "false"
record_option = "roundRobin"
source_type = "domains"
ttl = 3600
type = "ANAME"
}
When importing SRV record, roundRobin info does not import.