2015-06-09 17:02:19 +02:00
|
|
|
variable "identifier" {
|
|
|
|
default = "mydb-rds"
|
2015-06-16 03:56:08 +02:00
|
|
|
description = "Identifier for your DB"
|
2015-06-09 17:02:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "storage" {
|
|
|
|
default = "10"
|
|
|
|
description = "Storage size in GB"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "engine" {
|
2015-06-09 18:37:22 +02:00
|
|
|
default = "postgres"
|
|
|
|
description = "Engine type, example values mysql, postgres"
|
2015-06-09 17:02:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "engine_version" {
|
|
|
|
description = "Engine version"
|
2015-06-09 18:37:22 +02:00
|
|
|
default = {
|
|
|
|
mysql = "5.6.22"
|
|
|
|
postgres = "9.4.1"
|
|
|
|
}
|
2015-06-09 17:02:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "instance_class" {
|
2015-06-09 18:37:22 +02:00
|
|
|
default = "db.t2.micro"
|
2015-06-09 17:02:19 +02:00
|
|
|
description = "Instance class"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "db_name" {
|
|
|
|
default = "mydb"
|
|
|
|
description = "db name"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "username" {
|
2015-06-09 18:37:22 +02:00
|
|
|
default = "myuser"
|
2015-06-09 17:02:19 +02:00
|
|
|
description = "User name"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "password" {
|
2015-06-11 15:58:48 +02:00
|
|
|
description = "password, provide through your ENV variables"
|
2015-06-09 17:02:19 +02:00
|
|
|
}
|