-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathgcs.tf
More file actions
32 lines (27 loc) · 906 Bytes
/
gcs.tf
File metadata and controls
32 lines (27 loc) · 906 Bytes
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
28
29
30
31
32
provider "google" {
project = "qwiklabs-gcp-03-fa7edfd03d8e"
region = "us-central1"
}
resource "google_storage_bucket" "Example" {
name = "demo2-${random_id.Rand_suffix.hex}"
location = "us-central1"
force_destroy = true
uniform_bucket_level_access = false
labels = {
git_commit = "8b01968a3ab2b9a1c8f4f38b1d51f999c85df31d"
git_file = "code__build__gcs_tf"
git_last_modified_at = "2025-08-18-07-26-48"
git_last_modified_by = "52453932danielma911"
git_modifiers = "52453932danielma911"
git_org = "danielma911"
git_repo = "prisma-cloud-devsecops-workshop"
yor_name = "Example"
yor_trace = "f1afb72e-2fec-49e9-bd3f-03fef6f3075a"
}
}
resource "random_id" "Rand_suffix" {
byte_length = 4
}
output "Bucket_name" {
value = google_storage_bucket.Example.name
}