diff --git a/infra/vultr-kubernetes/dns.tf b/infra/vultr-kubernetes/dns.tf index cb2d3c7..7a4934a 100644 --- a/infra/vultr-kubernetes/dns.tf +++ b/infra/vultr-kubernetes/dns.tf @@ -10,3 +10,10 @@ resource vultr_dns_record sample_dns { # data = vultr_kubernetes.athens.ip type = "A" } + +resource vultr_dns_record hello_dns { + domain = vultr_dns_domain.temprah_lab.id + name = "hello" + data = "45.32.68.232" + type = "A" +} diff --git a/infra/vultr-kubernetes/variables.tf b/infra/vultr-kubernetes/variables.tf index f5ece85..60446dd 100644 --- a/infra/vultr-kubernetes/variables.tf +++ b/infra/vultr-kubernetes/variables.tf @@ -38,4 +38,7 @@ variable lab_domain { type = string } +variable lb_ip4 { + type = string +}