Skip to content

Commit 716a764

Browse files
committed
Set enforced for public_access_prevention
1 parent 9817c2f commit 716a764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tf/bucket/main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ resource "google_storage_bucket" "main" {
3131
location = var.location
3232

3333
force_destroy = var.force_destroy
34+
public_access_prevention = "enforced"
3435
uniform_bucket_level_access = true
3536

3637
dynamic "retention_policy" {

0 commit comments

Comments
 (0)