feat(dns): setup cloudflared tunnel and DNS records
This commit is contained in:
20
cloudflare/dns/variables.tf
Normal file
20
cloudflare/dns/variables.tf
Normal file
@@ -0,0 +1,20 @@
|
||||
variable "cloudflare_zone_id" {
|
||||
description = "Cloudflare Zone ID"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "cloudflare_tunnel_id" {
|
||||
description = "Cloudflare Zone ID"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "services" {
|
||||
description = "Services to expose to the outside world"
|
||||
type = map(object({
|
||||
subdomain = string
|
||||
service = string
|
||||
policy = string
|
||||
}))
|
||||
}
|
||||
Reference in New Issue
Block a user