WIP: Set stateful meta
This commit is contained in:
parent
2e2e4f2064
commit
18c45219d8
@ -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
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user