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 "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 = [] }