From 450800c11dd0c0c163feca83b984318badaf27ca Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 4 Dec 2020 14:10:49 -0500 Subject: [PATCH] Move all Terraform config into /terraform subdirectories within projects --- mgmt/do-jeremydormitzer-com/{ => terraform}/data.tf | 0 mgmt/do-jeremydormitzer-com/{ => terraform}/main.tf | 0 mgmt/do-jeremydormitzer-com/{ => terraform}/outputs.tf | 0 mgmt/do-jeremydormitzer-com/{ => terraform}/terraform.tf | 2 +- mgmt/do-jeremydormitzer-com/{ => terraform}/variables.tf | 0 mgmt/do-project-jeremydormitzer/{ => terraform}/data.tf | 0 mgmt/do-project-jeremydormitzer/{ => terraform}/main.tf | 0 mgmt/do-project-jeremydormitzer/{ => terraform}/terraform.tf | 0 mgmt/do-project-jeremydormitzer/{ => terraform}/variables.tf | 0 mgmt/do-spaces/{ => terraform}/main.tf | 0 mgmt/do-spaces/{ => terraform}/terraform.tf | 0 mgmt/do-spaces/{ => terraform}/variables.tf | 0 prod/git-jeremydormitzer-com/{ => terraform}/main.tf | 0 prod/git-jeremydormitzer-com/{ => terraform}/outputs.tf | 0 prod/git-jeremydormitzer-com/{ => terraform}/terraform.tf | 0 prod/git-jeremydormitzer-com/{ => terraform}/variables.tf | 0 prod/jdormit-website/{ => terraform}/main.tf | 0 prod/jdormit-website/{ => terraform}/outputs.tf | 0 prod/jdormit-website/{ => terraform}/terraform.tf | 0 prod/jdormit-website/{ => terraform}/variables.tf | 0 prod/justin-ghost-site/{ => terraform}/main.tf | 0 prod/justin-ghost-site/{ => terraform}/outputs.tf | 0 prod/justin-ghost-site/{ => terraform}/terraform.tf | 0 prod/justin-ghost-site/{ => terraform}/variables.tf | 0 prod/syncthing/{ => terraform}/main.tf | 0 prod/syncthing/{ => terraform}/outputs.tf | 0 prod/syncthing/{ => terraform}/terraform.tf | 0 prod/syncthing/{ => terraform}/variables.tf | 0 28 files changed, 1 insertion(+), 1 deletion(-) rename mgmt/do-jeremydormitzer-com/{ => terraform}/data.tf (100%) rename mgmt/do-jeremydormitzer-com/{ => terraform}/main.tf (100%) rename mgmt/do-jeremydormitzer-com/{ => terraform}/outputs.tf (100%) rename mgmt/do-jeremydormitzer-com/{ => terraform}/terraform.tf (86%) rename mgmt/do-jeremydormitzer-com/{ => terraform}/variables.tf (100%) rename mgmt/do-project-jeremydormitzer/{ => terraform}/data.tf (100%) rename mgmt/do-project-jeremydormitzer/{ => terraform}/main.tf (100%) rename mgmt/do-project-jeremydormitzer/{ => terraform}/terraform.tf (100%) rename mgmt/do-project-jeremydormitzer/{ => terraform}/variables.tf (100%) rename mgmt/do-spaces/{ => terraform}/main.tf (100%) rename mgmt/do-spaces/{ => terraform}/terraform.tf (100%) rename mgmt/do-spaces/{ => terraform}/variables.tf (100%) rename prod/git-jeremydormitzer-com/{ => terraform}/main.tf (100%) rename prod/git-jeremydormitzer-com/{ => terraform}/outputs.tf (100%) rename prod/git-jeremydormitzer-com/{ => terraform}/terraform.tf (100%) rename prod/git-jeremydormitzer-com/{ => terraform}/variables.tf (100%) rename prod/jdormit-website/{ => terraform}/main.tf (100%) rename prod/jdormit-website/{ => terraform}/outputs.tf (100%) rename prod/jdormit-website/{ => terraform}/terraform.tf (100%) rename prod/jdormit-website/{ => terraform}/variables.tf (100%) rename prod/justin-ghost-site/{ => terraform}/main.tf (100%) rename prod/justin-ghost-site/{ => terraform}/outputs.tf (100%) rename prod/justin-ghost-site/{ => terraform}/terraform.tf (100%) rename prod/justin-ghost-site/{ => terraform}/variables.tf (100%) rename prod/syncthing/{ => terraform}/main.tf (100%) rename prod/syncthing/{ => terraform}/outputs.tf (100%) rename prod/syncthing/{ => terraform}/terraform.tf (100%) rename prod/syncthing/{ => terraform}/variables.tf (100%) diff --git a/mgmt/do-jeremydormitzer-com/data.tf b/mgmt/do-jeremydormitzer-com/terraform/data.tf similarity index 100% rename from mgmt/do-jeremydormitzer-com/data.tf rename to mgmt/do-jeremydormitzer-com/terraform/data.tf diff --git a/mgmt/do-jeremydormitzer-com/main.tf b/mgmt/do-jeremydormitzer-com/terraform/main.tf similarity index 100% rename from mgmt/do-jeremydormitzer-com/main.tf rename to mgmt/do-jeremydormitzer-com/terraform/main.tf diff --git a/mgmt/do-jeremydormitzer-com/outputs.tf b/mgmt/do-jeremydormitzer-com/terraform/outputs.tf similarity index 100% rename from mgmt/do-jeremydormitzer-com/outputs.tf rename to mgmt/do-jeremydormitzer-com/terraform/outputs.tf diff --git a/mgmt/do-jeremydormitzer-com/terraform.tf b/mgmt/do-jeremydormitzer-com/terraform/terraform.tf similarity index 86% rename from mgmt/do-jeremydormitzer-com/terraform.tf rename to mgmt/do-jeremydormitzer-com/terraform/terraform.tf index da96f10..5d291d0 100644 --- a/mgmt/do-jeremydormitzer-com/terraform.tf +++ b/mgmt/do-jeremydormitzer-com/terraform/terraform.tf @@ -13,6 +13,6 @@ terraform { region = "us-east-1" endpoint = "nyc3.digitaloceanspaces.com" bucket = "jdormit-tf-state" - key = "mgmt/do-dns.tfstate" + key = "mgmt/do-jeremydormitzer-com.tfstate" } } diff --git a/mgmt/do-jeremydormitzer-com/variables.tf b/mgmt/do-jeremydormitzer-com/terraform/variables.tf similarity index 100% rename from mgmt/do-jeremydormitzer-com/variables.tf rename to mgmt/do-jeremydormitzer-com/terraform/variables.tf diff --git a/mgmt/do-project-jeremydormitzer/data.tf b/mgmt/do-project-jeremydormitzer/terraform/data.tf similarity index 100% rename from mgmt/do-project-jeremydormitzer/data.tf rename to mgmt/do-project-jeremydormitzer/terraform/data.tf diff --git a/mgmt/do-project-jeremydormitzer/main.tf b/mgmt/do-project-jeremydormitzer/terraform/main.tf similarity index 100% rename from mgmt/do-project-jeremydormitzer/main.tf rename to mgmt/do-project-jeremydormitzer/terraform/main.tf diff --git a/mgmt/do-project-jeremydormitzer/terraform.tf b/mgmt/do-project-jeremydormitzer/terraform/terraform.tf similarity index 100% rename from mgmt/do-project-jeremydormitzer/terraform.tf rename to mgmt/do-project-jeremydormitzer/terraform/terraform.tf diff --git a/mgmt/do-project-jeremydormitzer/variables.tf b/mgmt/do-project-jeremydormitzer/terraform/variables.tf similarity index 100% rename from mgmt/do-project-jeremydormitzer/variables.tf rename to mgmt/do-project-jeremydormitzer/terraform/variables.tf diff --git a/mgmt/do-spaces/main.tf b/mgmt/do-spaces/terraform/main.tf similarity index 100% rename from mgmt/do-spaces/main.tf rename to mgmt/do-spaces/terraform/main.tf diff --git a/mgmt/do-spaces/terraform.tf b/mgmt/do-spaces/terraform/terraform.tf similarity index 100% rename from mgmt/do-spaces/terraform.tf rename to mgmt/do-spaces/terraform/terraform.tf diff --git a/mgmt/do-spaces/variables.tf b/mgmt/do-spaces/terraform/variables.tf similarity index 100% rename from mgmt/do-spaces/variables.tf rename to mgmt/do-spaces/terraform/variables.tf diff --git a/prod/git-jeremydormitzer-com/main.tf b/prod/git-jeremydormitzer-com/terraform/main.tf similarity index 100% rename from prod/git-jeremydormitzer-com/main.tf rename to prod/git-jeremydormitzer-com/terraform/main.tf diff --git a/prod/git-jeremydormitzer-com/outputs.tf b/prod/git-jeremydormitzer-com/terraform/outputs.tf similarity index 100% rename from prod/git-jeremydormitzer-com/outputs.tf rename to prod/git-jeremydormitzer-com/terraform/outputs.tf diff --git a/prod/git-jeremydormitzer-com/terraform.tf b/prod/git-jeremydormitzer-com/terraform/terraform.tf similarity index 100% rename from prod/git-jeremydormitzer-com/terraform.tf rename to prod/git-jeremydormitzer-com/terraform/terraform.tf diff --git a/prod/git-jeremydormitzer-com/variables.tf b/prod/git-jeremydormitzer-com/terraform/variables.tf similarity index 100% rename from prod/git-jeremydormitzer-com/variables.tf rename to prod/git-jeremydormitzer-com/terraform/variables.tf diff --git a/prod/jdormit-website/main.tf b/prod/jdormit-website/terraform/main.tf similarity index 100% rename from prod/jdormit-website/main.tf rename to prod/jdormit-website/terraform/main.tf diff --git a/prod/jdormit-website/outputs.tf b/prod/jdormit-website/terraform/outputs.tf similarity index 100% rename from prod/jdormit-website/outputs.tf rename to prod/jdormit-website/terraform/outputs.tf diff --git a/prod/jdormit-website/terraform.tf b/prod/jdormit-website/terraform/terraform.tf similarity index 100% rename from prod/jdormit-website/terraform.tf rename to prod/jdormit-website/terraform/terraform.tf diff --git a/prod/jdormit-website/variables.tf b/prod/jdormit-website/terraform/variables.tf similarity index 100% rename from prod/jdormit-website/variables.tf rename to prod/jdormit-website/terraform/variables.tf diff --git a/prod/justin-ghost-site/main.tf b/prod/justin-ghost-site/terraform/main.tf similarity index 100% rename from prod/justin-ghost-site/main.tf rename to prod/justin-ghost-site/terraform/main.tf diff --git a/prod/justin-ghost-site/outputs.tf b/prod/justin-ghost-site/terraform/outputs.tf similarity index 100% rename from prod/justin-ghost-site/outputs.tf rename to prod/justin-ghost-site/terraform/outputs.tf diff --git a/prod/justin-ghost-site/terraform.tf b/prod/justin-ghost-site/terraform/terraform.tf similarity index 100% rename from prod/justin-ghost-site/terraform.tf rename to prod/justin-ghost-site/terraform/terraform.tf diff --git a/prod/justin-ghost-site/variables.tf b/prod/justin-ghost-site/terraform/variables.tf similarity index 100% rename from prod/justin-ghost-site/variables.tf rename to prod/justin-ghost-site/terraform/variables.tf diff --git a/prod/syncthing/main.tf b/prod/syncthing/terraform/main.tf similarity index 100% rename from prod/syncthing/main.tf rename to prod/syncthing/terraform/main.tf diff --git a/prod/syncthing/outputs.tf b/prod/syncthing/terraform/outputs.tf similarity index 100% rename from prod/syncthing/outputs.tf rename to prod/syncthing/terraform/outputs.tf diff --git a/prod/syncthing/terraform.tf b/prod/syncthing/terraform/terraform.tf similarity index 100% rename from prod/syncthing/terraform.tf rename to prod/syncthing/terraform/terraform.tf diff --git a/prod/syncthing/variables.tf b/prod/syncthing/terraform/variables.tf similarity index 100% rename from prod/syncthing/variables.tf rename to prod/syncthing/terraform/variables.tf