fix: resolve s3Uid name→UUID for uuid sub-params inside map-fixed

This commit is contained in:
“Naeel”
2026-07-19 10:45:22 +04:00
parent 0a027c2ebf
commit 65b78f2a78
9 changed files with 102 additions and 22 deletions
@@ -1,9 +1,24 @@
resource "nubes_lucee" "app1" {
resource_name = "lucy_0"
resource_realm = var.realm
domain = "tflucee"
git_path = "https://github.com/xahys/testlucee"
startup_configuration = {
resource_realm = var.realm
}
cluster_configuration = {
cpu = 300
memory = 512
replicas = 1
}
access_configuration = {
domain = "tflucee"
}
app_configuration = {
version = "5.4"
git_path = "https://github.com/xahys/testlucee"
}
json_env = jsonencode({
# 🔗 Настройки Data Source 'testds' для Lucee (Application.cfc)
@@ -31,10 +46,5 @@ resource "nubes_lucee" "app1" {
)
})
resource_c_p_u = 300
resource_memory = 512
resource_instances = 1
app_version = "5.4"
depends_on = [nubes_postgres.npg_lucee]
}
+6 -6
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
nubes = {
source = "registry.kube5s.ru/nubes-test/nubes"
version = "5.1.3"
version = "5.1.7"
}
}
}
@@ -12,11 +12,11 @@ variable "api_token" {
sensitive = true
description = "Nubes API token"
}
variable "s3_uid" {
type = string
sensitive = true
description = "Nubes S3 UID"
}
# variable "s3_uid" {
# type = string
# sensitive = true
# description = "Nubes S3 UID"
# }
variable "realm" {
type = string
sensitive = true
+2 -1
View File
@@ -32,7 +32,8 @@ resource "nubes_postgres" "npg_lucee" {
}])
backup_configuration = {
s3_uid = var.s3_uid
s3_uid = var.s3_name
# s3_uid = var.s3_uid
retain = 14
schedule = "0 0 * * *"
}
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers {
nubes = {
source = "registry.kube5s.ru/nubes-test/nubes"
version = "5.1.6"
version = "5.1.7"
}
}
}