pycloud/tofu/deployments.tf

134 lines
3.8 KiB
HCL

locals {
deployments = {
"ssh" = {
name = "Associer une clef SSH - (2024-01-17)"
description = "Adding user ssh key to project deployments"
enabled = true
catalog_item_name = "Associer une clef SSH"
project_name = "GRP-CLOE-TSS-DEV"
inputs = {
username = var.vra_username
sshpubkey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDph3zh6ojSvH44k13z9B6xj+Hargo3uzkxnYv5s5NI4yagNuBXEc3aS++KdocND+FtVfLK+iVE8qHo2bvmpMmVkqU6WU2apN7DfIP0QGLlSGeo+UOZ9hGeEDlgVO4AOnZKZ5kPGBEPZ84JXuE9CmhKfwEVCK8w3B8XQttA8alFl4A4/4F14x2w4njsSLY1H3b0qah7hgYKU5zHIGLg8Lxx+1BxGIF0l5n5m5rqAskRNaF+aYbs0CcWHv49bPK0sJJ0qPV2r2sq8BlzuZFHExnZRIxpsIXdce4Bm4rdlGi7tBmmurLk4OOtDkwvhD0LMaNJf10k6QLSmRUTVzgsYz/dmGxopbMtwwIXkwi014uSZgi8wAuznXx5I4j2TUGPZHOVf+1iw/yaxWlgTVOSoX7ZxyhDgW5cCgZZGNzU5UWe0vUuVTB+hfSMj50/Q6+Vi92/mDMbPhm4nBoVzD5DT15mB+yGyN45Ej61m0JzVUyZexfvVaffEug1/u5dnwilP0WGKr4i2OXxOXtvSdAs5rlZjvppZk6IxRCwXIcPwEFL97ZrQZAxlVS5Nh+ZnlSwTe3zfQhzHj1ao0AdCAHFPUEdoUPJhSb0OjyCvZ9XZ1KCkXhuhuN/3IUhuoWl4soNCeC3KmU/USx1wda438Exj0hM1mTyBZScDPGyD9nw78DGw== Philippe Caseiro"
}
},
"test-pc-vf" = {
name = "test-pc-vf"
enabled = false
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"
}
},
"MonoTest-pc-vf-1" = {
name = "MonoTest-1"
enabled = true
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-WEB"
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"
}
},
"MonoTest-pc-vf-2" = {
name = "MonotTest-2"
enabled = true
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 = 200
}
])
MonoVM_image = "DEB10X"
MonoVM_instances = 1
MonoVM_startOrder = "1"
leaseDays = "1"
}
},
"test-pc-vf-3-tiers" = {
name = "test-pc-vf-3-tiers"
enabled = true
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
}
])
}
}
}
}