infrastructure/variables.tf

103 lines
1.4 KiB
Terraform
Raw Normal View History

2024-09-25 11:23:52 +00:00
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
}
2024-09-27 23:59:53 +00:00
variable "postgresql_host" {
default = "db.serguzim.me"
}
variable "postgresql_port" {
default = "5432"
}
variable "postgresql_username" {
sensitive = true
}
variable "postgresql_password" {
sensitive = true
}
2024-09-25 11:23:52 +00:00
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
}
2024-09-27 23:59:53 +00:00
variable "services" {
2024-09-25 11:23:52 +00:00
type = map(object({
name = string
2024-09-27 23:59:53 +00:00
bucket = bool
database = bool
2024-09-25 11:23:52 +00:00
}))
}
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)
}))
}