Complete migration now that the changes are applied.
This commit is contained in:
@@ -17,38 +17,3 @@ provider "postgresql" {
|
||||
sslmode = "disable"
|
||||
connect_timeout = 15
|
||||
}
|
||||
|
||||
# csi-smb.tf
|
||||
|
||||
moved {
|
||||
from = nomad_job.csi-smb
|
||||
to = module.data.nomad_job.csi-smb
|
||||
}
|
||||
|
||||
# postgres.tf
|
||||
|
||||
moved {
|
||||
from = nomad_job.postgres
|
||||
to = module.data.nomad_job.postgres
|
||||
}
|
||||
|
||||
moved {
|
||||
from = nomad_job.pgadmin
|
||||
to = module.data.nomad_job.pgadmin
|
||||
}
|
||||
|
||||
moved {
|
||||
from = nomad_job.pgbackup
|
||||
to = module.data.nomad_job.pgbackup
|
||||
}
|
||||
|
||||
moved {
|
||||
from = nomad_variable.postgres
|
||||
to = module.data.nomad_variable.postgres
|
||||
}
|
||||
|
||||
moved {
|
||||
from = nomad_csi_volume_registration.unraid_database_dump
|
||||
to = module.data.nomad_csi_volume_registration.unraid_database_dump
|
||||
}
|
||||
|
||||
|
||||
@@ -29,26 +29,3 @@ moved {
|
||||
from = nomad_csi_volume_registration.unraid_appdata_traefik
|
||||
to = module.ingress.nomad_csi_volume_registration.unraid_appdata_traefik
|
||||
}
|
||||
|
||||
# authelia.tf
|
||||
|
||||
moved {
|
||||
from = nomad_job.authelia
|
||||
to = module.ingress.nomad_job.authelia
|
||||
}
|
||||
|
||||
moved {
|
||||
from = postgresql_role.authelia
|
||||
to = module.ingress.postgresql_role.authelia
|
||||
}
|
||||
|
||||
moved {
|
||||
from = postgresql_database.authelia
|
||||
to = module.ingress.postgresql_database.authelia
|
||||
}
|
||||
|
||||
moved {
|
||||
from = nomad_variable.authelia
|
||||
to = module.ingress.nomad_variable.authelia
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ Edit the secrets using `sops secrets/secrets.enc.json`
|
||||
|
||||
# Bootstrapping (starting without PostgreSQL running)
|
||||
|
||||
terraform apply -target=nomad_job.postgres
|
||||
terraform apply -target=module.data
|
||||
|
||||
## Restoring PostgreSQL DBs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user