tfmodules/dbaas/ovh/variables.tf
gitops_test ade8a7358e sync-modules: mirrored modules of release 3.2.0-F-feature-simpl-31672.683.51d1d4ae
+++ dbaas/README.md
+++ dbaas/ovh/main.tf
+++ dbaas/ovh/variables.tf
2026-09-24 14:59:51 +00:00

86 lines
2.7 KiB
HCL

variable "project_id" {
description = "OVH public cloud project id (service_name). Defaults to the OVH_CLOUD_PROJECT_SERVICE variable of the runner environment, derived from the cloud account configuration."
type = string
default = null
}
variable "region" {
description = "OVH region for the database nodes. Managed databases use the macro region code (for example SBG, GRA, DE), not the datacenter suffixed region (SBG5) used for instances."
type = string
}
variable "deployment_id" {
description = "Unique deployment identifier, used to build resource names"
type = string
}
variable "cloud_account" {
description = "Cloud account (environment) name, second segment of the Vault credentials path"
type = string
}
variable "requester_unique_id" {
description = "Requester unique id, third segment of the Vault credentials path"
type = string
}
variable "name_prefix" {
description = "Prefix for all resource names"
type = string
default = "simpl"
}
variable "username" {
description = "Database user name, last segment of the Vault credentials path"
type = string
default = "simpl_app_user"
}
variable "credentials_version" {
description = "Opaque rotation marker for the database user credential. Changing the value makes OVHcloud regenerate the user password server side and republishes the fresh credential to Vault in the same apply. Managed by the credential renewal workflow, not by the deployment script author."
type = string
default = "1"
}
variable "engine_version" {
description = "PostgreSQL engine version to provision"
type = string
default = "16"
}
variable "plan" {
description = "Service plan of the managed offer: essential, business or production"
type = string
default = "essential"
}
variable "flavor" {
description = "Node flavor (compute/memory sizing) for the database cluster, for example db1-4"
type = string
default = "db1-4"
}
variable "database_name" {
description = "Name of the initial application database to create on the cluster"
type = string
default = "simpl_app_db"
}
variable "private_network_id" {
description = "OpenStack private network (vRack) id the database nodes should be attached to, null for a public deployment"
type = string
default = null
}
variable "private_subnet_id" {
description = "Subnet id (within private_network_id) used by the database nodes, null for a public deployment"
type = string
default = null
}
variable "allowed_ips" {
description = "CIDR blocks allowed to reach the cluster (IP restrictions), only relevant for public deployments"
type = list(string)
default = []
}