From 36c6d573355e686f00fc7e885334fd60d0e93c52 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 06:10:47 +0000 Subject: [PATCH 1/2] Update Terraform cloudflare to v4.40.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 367a058..422059e 100644 --- a/envs/main/main.tf +++ b/envs/main/main.tf @@ -4,7 +4,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.38.0" + version = "4.40.0" } gitlab = { source = "gitlabhq/gitlab" diff --git a/envs/server_administration/main.tf b/envs/server_administration/main.tf index 6ec2003..cb2486c 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.38.0" + version = "4.40.0" } docker = { source = "kreuzwerker/docker" diff --git a/modules/cloudflare/certificate/main.tf b/modules/cloudflare/certificate/main.tf index 3aa176c..b654e52 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.38.0" + version = "4.40.0" } } } diff --git a/modules/docker/proxy/main.tf b/modules/docker/proxy/main.tf index d8f2ef8..12a0226 100644 --- a/modules/docker/proxy/main.tf +++ b/modules/docker/proxy/main.tf @@ -6,7 +6,7 @@ terraform { } cloudflare = { source = "cloudflare/cloudflare" - version = "4.38.0" + version = "4.40.0" } } } diff --git a/modules/gitlab/pages_domain/main.tf b/modules/gitlab/pages_domain/main.tf index bd7db00..9a718d5 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.38.0" + version = "4.40.0" } gitlab = { source = "gitlabhq/gitlab" diff --git a/system/administration/main.tf b/system/administration/main.tf index 1f0b2c9..95cda22 100644 --- a/system/administration/main.tf +++ b/system/administration/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.38.0" + version = "4.40.0" } docker = { source = "kreuzwerker/docker" diff --git a/system/domain/main.tf b/system/domain/main.tf index e0d284e..962c495 100644 --- a/system/domain/main.tf +++ b/system/domain/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { cloudflare = { source = "cloudflare/cloudflare" - version = "4.38.0" + version = "4.40.0" } gitlab = { source = "gitlabhq/gitlab" From 14888ae5884df56c6cca31bf31593640ef950d47 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Wed, 21 Aug 2024 18:42:30 +0200 Subject: [PATCH 2/2] Fix cloudflare deprecation warnings --- modules/gitlab/pages_domain/main.tf | 4 ++-- system/domain/main.tf | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/gitlab/pages_domain/main.tf b/modules/gitlab/pages_domain/main.tf index 9a718d5..0aeec03 100644 --- a/modules/gitlab/pages_domain/main.tf +++ b/modules/gitlab/pages_domain/main.tf @@ -20,7 +20,7 @@ resource "cloudflare_record" "gitlab_pages" { name = var.cloudflare_domain_name type = "CNAME" zone_id = var.cloudflare_zone_id - value = var.gitlab_unique_pages_url + content = var.gitlab_unique_pages_url proxied = true comment = "Managed by Terraform" } @@ -51,6 +51,6 @@ resource "cloudflare_record" "gitlab_pages_verification" { name = "_gitlab-pages-verification-code${var.cloudflare_domain_name == "@" ? "" : format(".%s", var.cloudflare_domain_name)}" type = "TXT" zone_id = var.cloudflare_zone_id - value = gitlab_pages_domain.this.verification_code + content = gitlab_pages_domain.this.verification_code comment = "Managed by Terraform | Pages verification for ${cloudflare_record.gitlab_pages.hostname}" } diff --git a/system/domain/main.tf b/system/domain/main.tf index 962c495..705ac50 100644 --- a/system/domain/main.tf +++ b/system/domain/main.tf @@ -46,7 +46,7 @@ resource "cloudflare_record" "github_verification" { name = "_github-challenge-code0-tech-org" type = "TXT" zone_id = data.cloudflare_zone.main_domain.id - value = "e3447326f4" + content = "e3447326f4" comment = "Managed by Terraform" } @@ -54,7 +54,7 @@ resource "cloudflare_record" "strato_spf" { name = "@" type = "TXT" zone_id = data.cloudflare_zone.main_domain.id - value = "v=spf1 redirect=smtp.strato.de" + content = "v=spf1 redirect=smtp.strato.de" comment = "Managed by Terraform" } @@ -62,6 +62,6 @@ resource "cloudflare_record" "strato_dkim" { name = "strato-dkim-0002._domainkey" type = "CNAME" zone_id = data.cloudflare_zone.main_domain.id - value = "strato-dkim-0002._domainkey.strato.de" + content = "strato-dkim-0002._domainkey.strato.de" comment = "Managed by Terraform" }