29 lines
1.2 KiB
Terraform
29 lines
1.2 KiB
Terraform
|
# TODO
|
||
|
# definire gli indirizzi ip statici da usare,
|
||
|
# spostare la variabile sotto nelle common-variables se serve,
|
||
|
# aggiungre sempre in common-variables il security-group per questo db
|
||
|
# e le definizioni per la rete dedicata affinché sia condivisibile
|
||
|
# con altri servizi
|
||
|
|
||
|
variable "accounting_dashboard_db_data" {
|
||
|
type = map(string)
|
||
|
default = {
|
||
|
name = "accounting-dashboard-db-server"
|
||
|
flavor = "m1.medium"
|
||
|
vol_data_name = "accounting-dashboard-db-data"
|
||
|
vol_data_size = "10"
|
||
|
vol_data_device = "/dev/vdb"
|
||
|
# vol_backup_name = ""
|
||
|
# vol_backup_size = ""
|
||
|
# vol_backup_device = ""
|
||
|
network_name = "accounting-dashboard-db-net"
|
||
|
network_description = "Network used to communicate with the accounting-dashboard-db service"
|
||
|
network_cidr = "192.168.0.0/22"
|
||
|
subnet_name = "accounting-dashboard-db-subnet"
|
||
|
subnet_description = "Subnet used to connect to the accounting-dashboard-db service"
|
||
|
allocation_pool_start = "192.168.0.100"
|
||
|
allocation_pool_end = "192.168.3.254"
|
||
|
server_ip = "192.168.0.5"
|
||
|
server_cidr = "192.168.0.5/22"
|
||
|
}
|
||
|
}
|