mirror of
https://github.com/ghndrx/GSP662.git
synced 2026-02-10 15:04:57 +00:00
Complete restructure
This commit is contained in:
12
modules/storage/main.tf
Normal file
12
modules/storage/main.tf
Normal file
@@ -0,0 +1,12 @@
|
||||
resource "google_storage_bucket" "fancy_store" {
|
||||
name = "fancy-store-${var.project_id}"
|
||||
location = "US"
|
||||
force_destroy = true
|
||||
}
|
||||
|
||||
resource "google_storage_bucket_object" "startup_script" {
|
||||
name = "startup-script.sh"
|
||||
bucket = google_storage_bucket.fancy_store.name
|
||||
source = "${path.module}/startup-script.sh"
|
||||
content_type = "text/plain"
|
||||
}
|
||||
Reference in New Issue
Block a user