feat(dns): setup cloudflared tunnel and DNS records

This commit is contained in:
2025-09-28 22:20:40 +03:00
parent b94d6e6f22
commit c29eeb5d14
12 changed files with 270 additions and 0 deletions

27
cloudflare/variables.tf Normal file
View File

@@ -0,0 +1,27 @@
variable "cloudflare_zone_id" {
description = "Zone ID for your domain"
type = string
}
variable "cloudflare_account_id" {
description = "Account ID for your Cloudflare account"
type = string
sensitive = true
}
variable "cloudflare_email" {
description = "Email address for your Cloudflare account"
type = string
}
variable "cloudflare_api_token" {
description = "Cloudflare API token"
type = string
sensitive = true
}
variable "cloudflared_tunnel_secret" {
description = "Cloudflare cloudflared auth secret"
type = string
sensitive = true
}