mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
40 lines
707 B
HCL
40 lines
707 B
HCL
|
|
variable "region" {
|
|
type = string
|
|
description = "AWS Hosting Region"
|
|
default = "us-east-1"
|
|
}
|
|
|
|
variable "site" {
|
|
type = string
|
|
description = "The name of the site"
|
|
default = "gdbible"
|
|
}
|
|
|
|
variable "domain" {
|
|
type = string
|
|
description = "The base domain name of the site that all these belong to."
|
|
default = "genderdysphoria.fyi"
|
|
}
|
|
|
|
variable "subdomains" {
|
|
type = list
|
|
default = [
|
|
"www",
|
|
"t"
|
|
]
|
|
}
|
|
|
|
variable "namecheap" {
|
|
type = map
|
|
description = "Namecheap Credentials"
|
|
default = {
|
|
username = ""
|
|
apikey = ""
|
|
}
|
|
|
|
validation {
|
|
condition = length(var.namecheap.username) > 0
|
|
error_message = "Must provide a namecheap configuration."
|
|
}
|
|
} |