Skip to content

Commit

Permalink
Fix root records
Browse files Browse the repository at this point in the history
  • Loading branch information
zarelit committed May 2, 2024
1 parent c848e90 commit 5a38feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ data "cloudflare_zone" "nix_pizza_zone" {
resource "cloudflare_record" "root_record_4" {
provider = cloudflare.dns
zone_id = data.cloudflare_zone.nix_pizza_zone.id
name = "root"
name = "@"
value = hcloud_server.nix-pizza.ipv4_address
type = "A"
ttl = 300
Expand All @@ -89,7 +89,7 @@ resource "cloudflare_record" "root_record_4" {
resource "cloudflare_record" "root_record_6" {
provider = cloudflare.dns
zone_id = data.cloudflare_zone.nix_pizza_zone.id
name = "root"
name = "@"
value = hcloud_server.nix-pizza.ipv6_address
type = "AAAA"
ttl = 300
Expand Down

0 comments on commit 5a38feb

Please sign in to comment.