diff --git a/modules/storage/main.tf b/modules/storage/main.tf index 63cd885..0ac3c83 100644 --- a/modules/storage/main.tf +++ b/modules/storage/main.tf @@ -13,6 +13,7 @@ resource "google_storage_bucket_object" "startup_script" { depends_on = [google_storage_bucket.fancy_store] } + output "fancy_store_name" { value = google_storage_bucket.fancy_store.name } \ No newline at end of file diff --git a/modules/storage/variables.tf b/modules/storage/variables.tf new file mode 100644 index 0000000..59fc2c8 --- /dev/null +++ b/modules/storage/variables.tf @@ -0,0 +1,3 @@ +variable "project_id" { + description = "ID of the Google Cloud project" +} \ No newline at end of file