From 588ea211db75e77b2f621e04e06c5ae4d0f2d8b8 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick <mc.taucher2003@gmail.com> Date: Sat, 7 Sep 2024 14:36:08 +0200 Subject: [PATCH] Fix cloudflare deprecation warnings --- system/administration/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/administration/main.tf b/system/administration/main.tf index a0142cd..fbc7909 100644 --- a/system/administration/main.tf +++ b/system/administration/main.tf @@ -35,7 +35,7 @@ resource "cloudflare_record" "server_ip" { name = "server_administration" type = "A" zone_id = data.cloudflare_zone.main_domain.id - value = var.server_administration_ip + content = var.server_administration_ip proxied = true comment = "Managed by Terraform" @@ -49,7 +49,7 @@ resource "cloudflare_record" "server_cname" { name = each.value type = "CNAME" zone_id = data.cloudflare_zone.main_domain.id - value = cloudflare_record.server_ip.hostname + content = cloudflare_record.server_ip.hostname proxied = true comment = "Managed by Terraform"