mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
c6beaa7ce8
Signed-off-by: Valentin Pichard <valentin.pichard@corp.ovh.com>
43 lines
751 B
HCL
43 lines
751 B
HCL
variable "identifier" {
|
|
default = "mydb-rds"
|
|
description = "Identifier for your DB"
|
|
}
|
|
|
|
variable "storage" {
|
|
default = "10"
|
|
description = "Storage size in GB"
|
|
}
|
|
|
|
variable "engine" {
|
|
default = "postgres"
|
|
description = "Engine type, example values mysql, postgres"
|
|
}
|
|
|
|
variable "engine_version" {
|
|
description = "Engine version"
|
|
|
|
default = {
|
|
mysql = "5.6.22"
|
|
postgres = "9.4.1"
|
|
}
|
|
}
|
|
|
|
variable "instance_class" {
|
|
default = "db.t2.micro"
|
|
description = "Instance class"
|
|
}
|
|
|
|
variable "db_name" {
|
|
default = "mydb"
|
|
description = "db name"
|
|
}
|
|
|
|
variable "username" {
|
|
default = "myuser"
|
|
description = "User name"
|
|
}
|
|
|
|
variable "password" {
|
|
description = "password, provide through your ENV variables"
|
|
}
|