Skip to content

Commit

Permalink
Merge pull request #58 from code0-tech/renovate/cloudflare-4.x
Browse files Browse the repository at this point in the history
Update Terraform cloudflare to v4.40.0
  • Loading branch information
Taucher2003 authored Aug 21, 2024
2 parents a71a958 + 14888ae commit b1b68b3
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion envs/main/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
gitlab = {
source = "gitlabhq/gitlab"
Expand Down
2 changes: 1 addition & 1 deletion envs/server_administration/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
docker = {
source = "kreuzwerker/docker"
Expand Down
2 changes: 1 addition & 1 deletion modules/cloudflare/certificate/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/docker/proxy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions modules/gitlab/pages_domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
gitlab = {
source = "gitlabhq/gitlab"
Expand All @@ -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"
}
Expand Down Expand Up @@ -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}"
}
2 changes: 1 addition & 1 deletion system/administration/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
docker = {
source = "kreuzwerker/docker"
Expand Down
8 changes: 4 additions & 4 deletions system/domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "4.38.0"
version = "4.40.0"
}
gitlab = {
source = "gitlabhq/gitlab"
Expand Down Expand Up @@ -46,22 +46,22 @@ 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"
}

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"
}

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"
}

0 comments on commit b1b68b3

Please sign in to comment.