about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/wpcarro/terraform/gcp.tf18
1 files changed, 9 insertions, 9 deletions
diff --git a/users/wpcarro/terraform/gcp.tf b/users/wpcarro/terraform/gcp.tf
index b02be762ad73..a902f53e7360 100644
--- a/users/wpcarro/terraform/gcp.tf
+++ b/users/wpcarro/terraform/gcp.tf
@@ -1,16 +1,16 @@
 provider "google" {
   project = "wpcarros-infrastructure"
-  region = "us-central1"
-  zone = "us-central1-a"
+  region  = "us-central1"
+  zone    = "us-central1-a"
 }
 
 data "google_compute_default_service_account" "default" {}
 
 resource "google_compute_instance" "default" {
-  name = "diogenes-2"
+  name         = "diogenes-2"
   machine_type = "e2-standard-2"
-  zone = "us-central1-a"
-  hostname = "diogenes.wpcarro.dev"
+  zone         = "us-central1-a"
+  hostname     = "diogenes.wpcarro.dev"
 
   tags = [
     "http-server",
@@ -22,13 +22,13 @@ resource "google_compute_instance" "default" {
     device_name = "boot"
 
     initialize_params {
-      size = 10
+      size  = 10
       image = "nixos-20-03"
     }
   }
 
   network_interface {
-    network = "default"
+    network    = "default"
     subnetwork = "default"
 
     access_config {
@@ -46,12 +46,12 @@ resource "google_compute_instance" "default" {
 }
 
 resource "google_compute_firewall" "default" {
-  name = "diogenes-firewall"
+  name    = "diogenes-firewall"
   network = "default"
 
   allow {
     protocol = "tcp"
-    ports = ["6698"]
+    ports    = ["6698"]
   }
 
   allow {