Skip to content

Commit 1888365

Browse files
feat: infra domain verification
1 parent be58724 commit 1888365

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

infra/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ resource "cloudflare_dns_record" "nightly" {
5959
ttl = 1
6060
}
6161

62+
# --- VS Code Marketplace Domain Verification ---
63+
resource "cloudflare_dns_record" "vscode_verification" {
64+
zone_id = var.zone_id
65+
name = "_visual-studio-marketplace-pywire"
66+
content = var.vscode_marketplace_verification_code
67+
type = "TXT"
68+
ttl = 3600
69+
}
70+
6271

6372

6473

infra/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,10 @@ variable "forwarding_rules" {
1919
variable "maintainer_emails" {
2020
description = "List of emails that receive the 'maintainers@' broadcast"
2121
type = list(string)
22+
}
23+
24+
variable "vscode_marketplace_verification_code" {
25+
description = "TXT record content for VS Code Marketplace domain verification"
26+
type = string
27+
sensitive = false
2228
}

0 commit comments

Comments
 (0)