Skip to content

Commit 5728eb6

Browse files
authored
Merge pull request #288 from code0-tech/add-codezero-build-as-verified-gh-domain
Add codezero.build record for GitHub domain verification
2 parents 2c5d7fc + 6bc2c99 commit 5728eb6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

system/domain/main.tf

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module "docs_pages" {
5454
gitlab_unique_pages_url = "docs-code0-tech-c91f18c0d2259c041bf05138b194e6bb082059fe38eff2e.gitlab.io"
5555
}
5656

57-
resource "cloudflare_dns_record" "github_verification" {
57+
resource "cloudflare_dns_record" "github_verification_code0_tech" {
5858
name = "_github-challenge-code0-tech-org.code0.tech"
5959
type = "TXT"
6060
ttl = 1
@@ -63,6 +63,15 @@ resource "cloudflare_dns_record" "github_verification" {
6363
comment = "Managed by Terraform"
6464
}
6565

66+
resource "cloudflare_dns_record" "github_verification_codezero_build" {
67+
name = "_gh-code0-tech-o.codezero.build"
68+
type = "TXT"
69+
ttl = 1
70+
zone_id = data.cloudflare_zones.codezero_build_domain.result[0].id
71+
content = "5a9b0d31a8"
72+
comment = "Managed by Terraform"
73+
}
74+
6675
resource "cloudflare_dns_record" "strato_spf" {
6776
name = "code0.tech"
6877
type = "TXT"

0 commit comments

Comments
 (0)