From 8c8c7427c04685f36c6f6dbb497953bdc64a57c1 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 4 Dec 2020 14:54:33 -0500 Subject: [PATCH] Rename jdormit-website -> web-server --- prod/{jdormit-website => web-server}/terraform/main.tf | 2 +- prod/{jdormit-website => web-server}/terraform/outputs.tf | 0 prod/{jdormit-website => web-server}/terraform/terraform.tf | 2 +- prod/{jdormit-website => web-server}/terraform/variables.tf | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename prod/{jdormit-website => web-server}/terraform/main.tf (90%) rename prod/{jdormit-website => web-server}/terraform/outputs.tf (100%) rename prod/{jdormit-website => web-server}/terraform/terraform.tf (87%) rename prod/{jdormit-website => web-server}/terraform/variables.tf (100%) diff --git a/prod/jdormit-website/terraform/main.tf b/prod/web-server/terraform/main.tf similarity index 90% rename from prod/jdormit-website/terraform/main.tf rename to prod/web-server/terraform/main.tf index 83be765..a9fcc13 100644 --- a/prod/jdormit-website/terraform/main.tf +++ b/prod/web-server/terraform/main.tf @@ -5,7 +5,7 @@ provider "digitalocean" { } resource "digitalocean_droplet" "jdormit_website" { - name = "jdormit-website" + name = "web-server" image = "50901536" region = "nyc1" size = "s-1vcpu-1gb" diff --git a/prod/jdormit-website/terraform/outputs.tf b/prod/web-server/terraform/outputs.tf similarity index 100% rename from prod/jdormit-website/terraform/outputs.tf rename to prod/web-server/terraform/outputs.tf diff --git a/prod/jdormit-website/terraform/terraform.tf b/prod/web-server/terraform/terraform.tf similarity index 87% rename from prod/jdormit-website/terraform/terraform.tf rename to prod/web-server/terraform/terraform.tf index 9b4ee5d..48a39bb 100644 --- a/prod/jdormit-website/terraform/terraform.tf +++ b/prod/web-server/terraform/terraform.tf @@ -13,6 +13,6 @@ terraform { region = "us-east-1" endpoint = "nyc3.digitaloceanspaces.com" bucket = "jdormit-tf-state" - key = "prod/jdormit-website.tfstate" + key = "prod/web-server.tfstate" } } diff --git a/prod/jdormit-website/terraform/variables.tf b/prod/web-server/terraform/variables.tf similarity index 100% rename from prod/jdormit-website/terraform/variables.tf rename to prod/web-server/terraform/variables.tf