From 6533ed7b6e5a655fd4d22f00a8ca5f9ce5d625ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 1 Jul 2024 14:23:52 +0200 Subject: [PATCH] treefmt dns.tf --- terraform/web01/dns.tf | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/terraform/web01/dns.tf b/terraform/web01/dns.tf index 3b716da..e994ec7 100644 --- a/terraform/web01/dns.tf +++ b/terraform/web01/dns.tf @@ -4,31 +4,31 @@ resource "hetznerdns_zone" "server" { } resource "hetznerdns_record" "root_a" { - zone_id = hetznerdns_zone.server.id - name = "@" - type = "A" - value = var.ipv4_address + zone_id = hetznerdns_zone.server.id + name = "@" + type = "A" + value = var.ipv4_address } resource "hetznerdns_record" "root_aaaa" { - zone_id = hetznerdns_zone.server.id - name = "@" - type = "AAAA" - value = var.ipv6_address + zone_id = hetznerdns_zone.server.id + name = "@" + type = "AAAA" + value = var.ipv6_address } resource "hetznerdns_record" "wildcard_a" { - zone_id = hetznerdns_zone.server.id - name = "*" - type = "A" - value = var.ipv4_address + zone_id = hetznerdns_zone.server.id + name = "*" + type = "A" + value = var.ipv4_address } resource "hetznerdns_record" "wildcard_aaaa" { - zone_id = hetznerdns_zone.server.id - name = "*" - type = "AAAA" - value = var.ipv6_address + zone_id = hetznerdns_zone.server.id + name = "*" + type = "AAAA" + value = var.ipv6_address } # for sending emails