Skip to content

Commit

Permalink
formatting terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
Saloni-Patidar committed Oct 31, 2023
1 parent 1a0b080 commit 2bc9fa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions modules/storage/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ resource "google_storage_bucket" "bucket" {
force_destroy = var.force_destroy
uniform_bucket_level_access = var.uniform_bucket_level_access
labels = var.storage_bucket_labels
public_access_prevention = var.public_access_prevention

public_access_prevention = var.public_access_prevention
versioning {
enabled = var.versioning
}
Expand Down
6 changes: 3 additions & 3 deletions modules/storage/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ variable "data_locations" {

variable "public_access_prevention" {
description = "Prevents public access to a bucket. Acceptable values are \"inherited\" or \"enforced\". If \"inherited\", the bucket uses public access prevention. only if the bucket is subject to the public access prevention organization policy constraint."
type = string
default = "inherited"
}
type = string
default = "inherited"
}

0 comments on commit 2bc9fa6

Please sign in to comment.