first commit
This commit is contained in:
20
modules/00-globals/cloudflare/outputs.tf
Normal file
20
modules/00-globals/cloudflare/outputs.tf
Normal file
@@ -0,0 +1,20 @@
|
||||
output "cloudflare_account_id" {
|
||||
description = "Cloudflare account ID"
|
||||
value = var.cloudflare_account_id
|
||||
}
|
||||
|
||||
output "cloudflare_zone_id" {
|
||||
description = "Cloudflare zone ID"
|
||||
value = var.cloudflare_zone_id
|
||||
}
|
||||
|
||||
output "domain" {
|
||||
description = "Base domain name"
|
||||
value = var.domain
|
||||
}
|
||||
|
||||
output "cloudflare_api_token" {
|
||||
description = "API token for Cloudflare"
|
||||
value = var.cloudflare_api_token
|
||||
sensitive = true
|
||||
}
|
||||
20
modules/00-globals/cloudflare/variables.tf
Normal file
20
modules/00-globals/cloudflare/variables.tf
Normal file
@@ -0,0 +1,20 @@
|
||||
variable "cloudflare_api_token" {
|
||||
description = "API token for Cloudflare with tunnel, DNS, and zone management permissions"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "cloudflare_account_id" {
|
||||
description = "Cloudflare account ID"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "cloudflare_zone_id" {
|
||||
description = "Cloudflare zone ID for your domain"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "domain" {
|
||||
description = "Base domain name (e.g., example.com)"
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user