chore: cleanup
This commit is contained in:
parent
2fb369309e
commit
99d8686a02
1 changed files with 4 additions and 4 deletions
8
main.tf
8
main.tf
|
@ -31,10 +31,10 @@ for_each = {
|
||||||
for record in local.zone_data : "${record.record_type}${record.extra_data}-${record.record_name}.${record.zone_name}" => record }
|
for record in local.zone_data : "${record.record_type}${record.extra_data}-${record.record_name}.${record.zone_name}" => record }
|
||||||
|
|
||||||
zone_id = hetznerdns_zone.zone[each.value.zone_name].id
|
zone_id = hetznerdns_zone.zone[each.value.zone_name].id
|
||||||
name = "${each.value.record_name}"
|
name = "${each.value.record_name}"
|
||||||
type = each.value.record_type
|
type = each.value.record_type
|
||||||
value = each.value.record_type == "MX" ? "${each.value.extra_data} ${each.value.record_value}" : each.value.record_value
|
value = each.value.record_type == "MX" ? "${each.value.extra_data} ${each.value.record_value}" : each.value.record_value
|
||||||
ttl = 300
|
ttl = 300
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue