about summary refs log tree commit diff
path: root/users/wpcarro/terraform/gcp.tf
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/terraform/gcp.tf')
-rw-r--r--users/wpcarro/terraform/gcp.tf11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/wpcarro/terraform/gcp.tf b/users/wpcarro/terraform/gcp.tf
index 92af096953cb..03bb721c9d35 100644
--- a/users/wpcarro/terraform/gcp.tf
+++ b/users/wpcarro/terraform/gcp.tf
@@ -27,6 +27,11 @@ resource "google_compute_instance" "default" {
     }
   }
 
+  attached_disk {
+    source      = "diogenes-2-disk"
+    device_name = "diogenes-2-disk"
+  }
+
   network_interface {
     network    = "default"
     subnetwork = "default"
@@ -65,4 +70,10 @@ resource "google_compute_firewall" "default" {
   }
 
   source_tags = ["diogenes-firewall"]
+}
+
+resource "google_compute_disk" "default" {
+  name = "diogenes-2-disk"
+  zone = "us-central1-a"
+  size = 100
 }
\ No newline at end of file