From 0cfd052a6e3e41769dc27a2825ff2488027e39b0 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 24 Aug 2023 11:53:08 -0700 Subject: [PATCH] Move backup module to a module under root --- backups.tf | 3 +++ backups/.terraform.lock.hcl | 21 +++++++++++++++++++ {services/backups => backups}/backup.nomad | 9 ++++---- {services/backups => backups}/backups.tf | 0 .../backups => backups}/jobs/authelia.hcl | 0 .../backups => backups}/jobs/grafana.hcl | 0 {services/backups => backups}/jobs/lidarr.hcl | 0 {services/backups => backups}/jobs/lldap.hcl | 0 {services/backups => backups}/jobs/nzbget.hcl | 0 .../backups => backups}/jobs/photoprism.hcl | 0 .../backups => backups}/jobs/sabnzbd.hcl | 0 {services/backups => backups}/jobs/sonarr.hcl | 1 - services/backups/.terraform.lock.hcl | 21 ------------------- 13 files changed, 29 insertions(+), 26 deletions(-) create mode 100644 backups.tf create mode 100644 backups/.terraform.lock.hcl rename {services/backups => backups}/backup.nomad (96%) rename {services/backups => backups}/backups.tf (100%) rename {services/backups => backups}/jobs/authelia.hcl (100%) rename {services/backups => backups}/jobs/grafana.hcl (100%) rename {services/backups => backups}/jobs/lidarr.hcl (100%) rename {services/backups => backups}/jobs/lldap.hcl (100%) rename {services/backups => backups}/jobs/nzbget.hcl (100%) rename {services/backups => backups}/jobs/photoprism.hcl (100%) rename {services/backups => backups}/jobs/sabnzbd.hcl (100%) rename {services/backups => backups}/jobs/sonarr.hcl (94%) delete mode 100644 services/backups/.terraform.lock.hcl diff --git a/backups.tf b/backups.tf new file mode 100644 index 0000000..16883e2 --- /dev/null +++ b/backups.tf @@ -0,0 +1,3 @@ +module "backups" { + source = "./backups" +} diff --git a/backups/.terraform.lock.hcl b/backups/.terraform.lock.hcl new file mode 100644 index 0000000..ea59364 --- /dev/null +++ b/backups/.terraform.lock.hcl @@ -0,0 +1,21 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/nomad" { + version = "1.4.20" + hashes = [ + "h1:M/QVXHPfeySejJZI3I8mBYrL/J9VsbnyF/dKIMlUhXo=", + "zh:02989edcebe724fc0aa873b22176fd20074c4f46295e728010711a8fc5dfa72c", + "zh:089ba7d19bcf5c6bab3f8b8c5920eb6d78c52cf79bb0c5dfeb411c600e7efcba", + "zh:235865a2182ca372bcbf440201a8b8cc0715ad5dbc4de893d99b6f32b5be53ab", + "zh:67ea718764f3f344ecc6e027d20c1327b86353c8064aa90da3ec12cec4a88954", + "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", + "zh:8c68c540f0df4980568bdd688c2adec86eda62eb2de154e3db215b16de0a7ae0", + "zh:911969c63a69a733be57b96d54c5966c9424e1abec8d5f20038c8cef3a504c65", + "zh:a673c92ddc9d47e8d53dcb9b376f1adcb4543488202fc83a3e7eab8677530684", + "zh:a94a73eae89fd8c8ebf872013079be41161d3f293f4026c92d45c4c5667dd613", + "zh:db6b89f8b696040c0344f00928e4cf6e0a75034421ba14cdcd8a4d23bc865dce", + "zh:e512c0b1239e3d66b60d22c2b4de19fea288e492cde90dff9277cc475fd9dbbf", + "zh:ef6eccecbdef3bb8ce629cabfb5550c1db5c3e952943dda1786ef6cb470a8c23", + ] +} diff --git a/services/backups/backup.nomad b/backups/backup.nomad similarity index 96% rename from services/backups/backup.nomad rename to backups/backup.nomad index eddbfd8..eb8f7c5 100644 --- a/services/backups/backup.nomad +++ b/backups/backup.nomad @@ -112,13 +112,14 @@ RCLONE_FTP_NO_CHECK_CERTIFICATE=true data = <