Register hosts in Linode Managed DNS

This commit is contained in:
2022-05-30 20:58:41 -05:00
parent 3e74388f97
commit ed8e4a55c4
6 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
resource "linode_domain_record" "this_ipv4" {
domain_id = data.linode_domain.this.id
name = var.host_name
record_type = "A"
target = linode_instance.this.ip_address
}