Skip to content

Commit

Permalink
Add uniform bucket level access to fix local testing (#10646) (#18080)
Browse files Browse the repository at this point in the history
[upstream:9c5199976faf9e8f9d927fde255b42e3eedd6c01]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored May 9, 2024
1 parent cd11e39 commit e72645e
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ func testAccCloudFunctionsFunction_basic(functionName string, bucketName string,
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -627,6 +628,7 @@ func testAccCloudFunctionsFunction_updated(functionName string, bucketName strin
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -680,6 +682,7 @@ func testAccCloudFunctionsFunction_buildworkerpool(functionName string, bucketNa
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -719,6 +722,7 @@ func testAccCloudFunctionsFunction_pubsub(functionName string, bucketName string
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -759,6 +763,7 @@ data "google_client_config" "current" {
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -792,6 +797,7 @@ func testAccCloudFunctionsFunction_bucketNoRetry(functionName string, bucketName
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -822,6 +828,7 @@ func testAccCloudFunctionsFunction_firestore(functionName string, bucketName str
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -871,6 +878,7 @@ func testAccCloudFunctionsFunction_serviceAccountEmail(functionName, bucketName,
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down Expand Up @@ -922,6 +930,7 @@ resource "google_vpc_access_connector" "%s" {
resource "google_storage_bucket" "bucket" {
name = "%s"
location = "US"
uniform_bucket_level_access = true
}
resource "google_storage_bucket_object" "archive" {
Expand Down

0 comments on commit e72645e

Please sign in to comment.