tfmodules/dbaas/ovh/variables.tf
gitops_test 3668b94644 sync-modules: mirrored modules of release 3.2.0-F-feature-simpl-31669.676.1150352e
+++ dbaas/README.md
+++ dbaas/ovh/credentials.tf
+++ dbaas/ovh/main.tf
+++ dbaas/ovh/outputs.tf
+++ dbaas/ovh/variables.tf
+++ dbaas/ovh/versions.tf
2026-09-23 13:16:31 +00:00

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