chore: commit all changes
This commit is contained in:
@@ -1,50 +1,48 @@
|
||||
resource "nubes_postgres" "npg" {
|
||||
resource_name = "pgtst01"
|
||||
|
||||
startup_configuration = jsonencode({
|
||||
resourceRealm = var.realm
|
||||
})
|
||||
startup_configuration = {
|
||||
resource_realm = var.realm
|
||||
}
|
||||
|
||||
cluster_configuration = jsonencode({
|
||||
cpu = "500"
|
||||
memory = "512"
|
||||
replicas = "1"
|
||||
disk = "10"
|
||||
})
|
||||
cluster_configuration = {
|
||||
cpu = 500
|
||||
memory = 512
|
||||
replicas = 1
|
||||
disk = 10
|
||||
}
|
||||
|
||||
access_configuration = jsonencode({
|
||||
masterIpSpace = "no-needed"
|
||||
masterAccessList = ["10.0.0.0/8"]
|
||||
slaveIpSpace = "no-needed"
|
||||
slaveAccessList = []
|
||||
})
|
||||
access_configuration = {
|
||||
master_ip_space = "no-needed"
|
||||
master_access_list = jsonencode(["10.0.0.0/8"])
|
||||
slave_ip_space = "no-needed"
|
||||
slave_access_list = jsonencode([])
|
||||
}
|
||||
|
||||
postgres_configuration = jsonencode({
|
||||
version = "17"
|
||||
sslRequired = true
|
||||
poolerMaster = false
|
||||
poolerSlave = false
|
||||
})
|
||||
postgres_configuration = {
|
||||
version = "17"
|
||||
ssl_required = true
|
||||
pooler_master = false
|
||||
pooler_slave = false
|
||||
}
|
||||
|
||||
postgres_conf = jsonencode([
|
||||
{
|
||||
paramName = "log_connections"
|
||||
paramValue = "''"
|
||||
}
|
||||
])
|
||||
postgres_conf = jsonencode([{
|
||||
param_name = "log_connections"
|
||||
param_value = ""
|
||||
}])
|
||||
|
||||
backup_configuration = jsonencode({
|
||||
s3Uid = var.s3_uid
|
||||
retain = "14"
|
||||
backup_configuration = {
|
||||
s3_uid = var.s3_uid
|
||||
retain = 14
|
||||
schedule = "0 0 * * *"
|
||||
})
|
||||
}
|
||||
|
||||
autoscale_configuration = jsonencode({
|
||||
autoscale_configuration = {
|
||||
enabled = false
|
||||
schedule = "0"
|
||||
percent = "10"
|
||||
quota = "100"
|
||||
})
|
||||
schedule = 0
|
||||
percent = 10
|
||||
quota = 100
|
||||
}
|
||||
|
||||
operation_timeout = "11m"
|
||||
adopt_existing_on_create = true
|
||||
|
||||
Reference in New Issue
Block a user