From 6e9b57bed12b271c6492fb9921d9ce2bc0717a78 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Tue, 13 Feb 2024 23:19:56 +0100 Subject: [PATCH 1/2] Create GitHub domain verification record --- domain/main.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/domain/main.tf b/domain/main.tf index fd5ba70..6c102e7 100644 --- a/domain/main.tf +++ b/domain/main.tf @@ -32,3 +32,10 @@ module "docs_pages" { gitlab_project_path = "code0-tech/telescopium" gitlab_unique_pages_url = "docs-code0-tech-c91f18c0d2259c041bf05138b194e6bb082059fe38eff2e.gitlab.io" } + +resource "cloudflare_record" "github_verification" { + name = "_github-challenge-code0-tech-org" + type = "TXT" + zone_id = data.cloudflare_zone.main_domain.id + value = "e3447326f4" +} From f2e019c55d7429df56cced57ae278a1b51ce5f44 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Tue, 13 Feb 2024 23:23:34 +0100 Subject: [PATCH 2/2] Add missing comment to record --- domain/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/domain/main.tf b/domain/main.tf index 6c102e7..1aa5c89 100644 --- a/domain/main.tf +++ b/domain/main.tf @@ -38,4 +38,5 @@ resource "cloudflare_record" "github_verification" { type = "TXT" zone_id = data.cloudflare_zone.main_domain.id value = "e3447326f4" + comment = "Managed by Terraform" }