pycloud/tofu/deployments.tf

65 lines
1.4 KiB
HCL

locals {
deployments = {
"test-pc-vf" = {
name = "test-pc-vf"
description = "test deployment"
catalog_item_name = "MonoVM-Dev"
project_name = "GRP-CLOE-TSS-DEV"
inputs = {
MonoVM_cpu = 2
MonoVM_memory = 2048
MonoVM_securityTag = "DEV-TIER-APP"
MonoVM_service = "app"
MonoVM_disks = jsonencode([
{
mountpoint = "/toto",
size = 10
},
{
mountpoint = "/titi",
size = 20
}
])
MonoVM_image = "DEB10X"
MonoVM_instances = 1
MonoVM_startOrder = "1"
leaseDays = "1"
}
},
"test-pc-vf-3-tiers" = {
name = "test-pc-vf-3-tiers"
description = "test 3 tiers Dev"
catalog_item_name = "3-tiers-Dev"
project_name = "GRP-CLOE-TST-DEV"
inputs = {
leaseDays = "1"
DB_service = "db2"
DB_disks = jsonencode([
{
mountpoint = "/toto",
size = 50
}
])
WEB_service = "web"
WEB_ansibleJob = ""
WEB_disks = jsonencode([
{
mountpoint = "/toto",
size = 50
}
])
APP_service = "app"
APP_disks = jsonencode([
{
mountpoint = "/toto",
size = 50
}
])
}
}
}
}