Improve use of postgres from terraform
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
resource "nomad_job" "postgres" {
|
||||
jobspec = file("postgres.nomad.hcl")
|
||||
rerun_if_dead = true
|
||||
}
|
||||
|
||||
resource "nomad_job" "pgadmin" {
|
||||
@@ -18,8 +19,7 @@ resource "nomad_variable" "postgres" {
|
||||
}
|
||||
|
||||
provider "postgresql" {
|
||||
#host = "jaglan-beta-m01.othrayte.one"
|
||||
host = "192.168.1.235"
|
||||
host = "jaglan-beta-m01.lan"
|
||||
port = 5432
|
||||
database = "postgres"
|
||||
username = "postgres"
|
||||
|
||||
Reference in New Issue
Block a user