infrastructure/modules/infrastructure/variables.tf

84 lines
1.2 KiB
HCL

variable "contabo_provider_vars" {
type = object({
client_id = string
client_secret = string
user = string
pass = string
})
sensitive = true
}
variable "hcloud_token" {
sensitive = true
}
variable "ovh_application_key" {
sensitive = true
}
variable "ovh_application_secret" {
sensitive = true
}
variable "ovh_consumer_key" {
sensitive = true
}
variable "scaleway_organization_id" {
sensitive = true
}
variable "scaleway_project_id" {
sensitive = true
}
variable "scaleway_access_key" {
sensitive = true
}
variable "scaleway_secret_key" {
sensitive = true
}
variable "tailscale_api_key" {
sensitive = true
}
variable "tailscale_tailnet" {
sensitive = false
}
variable "default_ssh_key" {
type = object({
name = string
public_key = string
})
}
variable "services" {
type = map(object({
name = string
subdomain = string
auth = bool
auth_redirects = optional(list(string))
s3 = bool
database = bool
}))
}
variable "hosts" {
type = map(object({
hostname = string
rdns = string
provider = string
image = optional(string)
server_type = optional(string)
datacenter = optional(string)
}))
}