fix: resolve s3Uid name→UUID for uuid sub-params inside map-fixed
This commit is contained in:
@@ -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]
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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 * * *"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ terraform {
|
||||
required_providers {
|
||||
nubes = {
|
||||
source = "registry.kube5s.ru/nubes-test/nubes"
|
||||
version = "5.1.6"
|
||||
version = "5.1.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user