WIP: Set stateful meta

This commit is contained in:
IamTheFij 2023-08-21 22:31:35 -07:00
parent 2e2e4f2064
commit 18c45219d8
1 changed files with 2 additions and 0 deletions

View File

@ -37,5 +37,7 @@ resource "nomad_job" "service" {
mysql_bootstrap = var.mysql_bootstrap
postgres_bootstrap = var.postgres_bootstrap
stateful = var.use_mysql || var.postgres || length(var.host_volumes) > 0
})
}