From 01d1cdd8ac8b6c16993d6c815d6744e63df89ca4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 6 Sep 2024 01:50:23 +0000 Subject: [PATCH 1/2] Update Terraform cloudflare to v4.41.0 --- envs/main/main.tf | 2 +- envs/server_administration/main.tf | 2 +- modules/cloudflare/certificate/main.tf | 2 +- modules/docker/proxy/main.tf | 2 +- modules/gitlab/pages_domain/main.tf | 2 +- system/administration/main.tf | 2 +- system/domain/main.tf | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/envs/main/main.tf b/envs/main/main.tf index 422059e..0c0b773 100644 --- a/envs/main/main.tf +++ b/envs/main/main.tf @@ -4,7 +4,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } gitlab = { source = "gitlabhq/gitlab" diff --git a/envs/server_administration/main.tf b/envs/server_administration/main.tf index cb2486c..72352a8 100644 --- a/envs/server_administration/main.tf +++ b/envs/server_administration/main.tf @@ -4,7 +4,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } docker = { source = "kreuzwerker/docker" diff --git a/modules/cloudflare/certificate/main.tf b/modules/cloudflare/certificate/main.tf index b654e52..9a2c8b9 100644 --- a/modules/cloudflare/certificate/main.tf +++ b/modules/cloudflare/certificate/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } } } diff --git a/modules/docker/proxy/main.tf b/modules/docker/proxy/main.tf index 12a0226..3c76cf3 100644 --- a/modules/docker/proxy/main.tf +++ b/modules/docker/proxy/main.tf @@ -6,7 +6,7 @@ terraform { } cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } } } diff --git a/modules/gitlab/pages_domain/main.tf b/modules/gitlab/pages_domain/main.tf index 0aeec03..bfa2f55 100644 --- a/modules/gitlab/pages_domain/main.tf +++ b/modules/gitlab/pages_domain/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } gitlab = { source = "gitlabhq/gitlab" diff --git a/system/administration/main.tf b/system/administration/main.tf index 95cda22..a0142cd 100644 --- a/system/administration/main.tf +++ b/system/administration/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } docker = { source = "kreuzwerker/docker" diff --git a/system/domain/main.tf b/system/domain/main.tf index 705ac50..53c4bb2 100644 --- a/system/domain/main.tf +++ b/system/domain/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.40.0" + version = "4.41.0" } gitlab = { source = "gitlabhq/gitlab" From 588ea211db75e77b2f621e04e06c5ae4d0f2d8b8 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sat, 7 Sep 2024 14:36:08 +0200 Subject: [PATCH 2/2] 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"