mirror of
https://github.com/ghndrx/GSP662.git
synced 2026-02-10 06:54:58 +00:00
.
This commit is contained in:
6
main.tf
6
main.tf
@@ -3,4 +3,10 @@
|
|||||||
module "storage" {
|
module "storage" {
|
||||||
source = "./modules/storage"
|
source = "./modules/storage"
|
||||||
project_id = var.project_id
|
project_id = var.project_id
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "instance" {
|
||||||
|
source = "./modules/instances"
|
||||||
|
|
||||||
|
}
|
||||||
@@ -9,7 +9,7 @@ resource "google_storage_bucket_object" "startup_script" {
|
|||||||
bucket = google_storage_bucket.fancy_store.name
|
bucket = google_storage_bucket.fancy_store.name
|
||||||
source = "${path.module}/startup-script.sh"
|
source = "${path.module}/startup-script.sh"
|
||||||
content_type = "text/plain"
|
content_type = "text/plain"
|
||||||
}
|
|
||||||
variable "project_id" {
|
|
||||||
|
|
||||||
}
|
depends_on = [google_storage_bucket.fancy_store]
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user