forked from vmware-archive/terraforming-gcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstorage.tf
27 lines (24 loc) · 925 Bytes
/
storage.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
resource "google_storage_bucket" "buildpacks" {
name = "${var.project}-${var.env_name}-buildpacks"
location = "${var.buckets_location}"
force_destroy = true
count = "${var.create_gcs_buckets ? 1 : 0}"
}
resource "google_storage_bucket" "droplets" {
name = "${var.project}-${var.env_name}-droplets"
location = "${var.buckets_location}"
force_destroy = true
count = "${var.create_gcs_buckets ? 1 : 0}"
}
resource "google_storage_bucket" "packages" {
name = "${var.project}-${var.env_name}-packages"
location = "${var.buckets_location}"
force_destroy = true
count = "${var.create_gcs_buckets ? 1 : 0}"
}
resource "google_storage_bucket" "resources" {
name = "${var.project}-${var.env_name}-resources"
location = "${var.buckets_location}"
force_destroy = true
count = "${var.create_gcs_buckets ? 1 : 0}"
}