102 lines
1.4 KiB
HCL
102 lines
1.4 KiB
HCL
variable "backend_access_key" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "backend_secret_key" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "backend_endpoint" {
|
|
sensitive = false
|
|
}
|
|
|
|
variable "backend_region" {
|
|
sensitive = false
|
|
}
|
|
|
|
variable "backend_bucket" {
|
|
sensitive = false
|
|
}
|
|
|
|
|
|
variable "hcloud_token" {
|
|
sensitive = true
|
|
}
|
|
|
|
|
|
variable "ovh_application_key" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "ovh_application_secret" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "ovh_consumer_key" {
|
|
sensitive = true
|
|
}
|
|
|
|
|
|
variable "postgresql_host" {
|
|
default = "db.serguzim.me"
|
|
}
|
|
|
|
variable "postgresql_port" {
|
|
default = "5432"
|
|
}
|
|
|
|
variable "postgresql_username" {
|
|
sensitive = true
|
|
}
|
|
|
|
variable "postgresql_password" {
|
|
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 "services" {
|
|
type = map(object({
|
|
name = string
|
|
bucket = bool
|
|
database = bool
|
|
}))
|
|
}
|
|
|
|
variable "hosts" {
|
|
type = map(object({
|
|
hostname = string
|
|
rdns = string
|
|
provider = string
|
|
ipv4_address = optional(string)
|
|
ipv6_address = optional(string)
|
|
image = optional(string)
|
|
server_type = optional(string)
|
|
datacenter = optional(string)
|
|
}))
|
|
}
|