Skip to content

Commit

Permalink
Address acc tests failures with higher TF versions by removing unused…
Browse files Browse the repository at this point in the history
… output block from acctest configs (#10720) (#18164)

[upstream:0858475915a9c5376728c859b432910267456e6f]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed May 16, 2024
1 parent 0b2b67f commit befd4e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ resource "google_cloudfunctions2_function" "function" {
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
resource "google_cloudfunctions2_function_iam_member" "foo" {
project = google_cloudfunctions2_function.function.project
location = google_cloudfunctions2_function.function.location
Expand Down Expand Up @@ -231,10 +227,6 @@ resource "google_cloudfunctions2_function" "function" {
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
data "google_iam_policy" "foo" {
binding {
role = "%{role}"
Expand Down Expand Up @@ -301,10 +293,6 @@ resource "google_cloudfunctions2_function" "function" {
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
data "google_iam_policy" "foo" {
}
Expand Down Expand Up @@ -358,10 +346,6 @@ resource "google_cloudfunctions2_function" "function" {
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
resource "google_cloudfunctions2_function_iam_binding" "foo" {
project = google_cloudfunctions2_function.function.project
location = google_cloudfunctions2_function.function.location
Expand Down Expand Up @@ -413,10 +397,6 @@ resource "google_cloudfunctions2_function" "function" {
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
resource "google_cloudfunctions2_function_iam_binding" "foo" {
project = google_cloudfunctions2_function.function.project
location = google_cloudfunctions2_function.function.location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ resource "google_cloudfunctions2_function" "function" {
timeout_seconds = 60
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
`, context)
}

Expand Down Expand Up @@ -593,10 +589,6 @@ resource "google_cloudfunctions2_function" "function" {
depends_on = [time_sleep.wait_60s]
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
`, context)
}

Expand Down
8 changes: 0 additions & 8 deletions website/docs/r/cloudfunctions2_function.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ resource "google_cloudfunctions2_function" "function" {
timeout_seconds = 60
}
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
```
## Example Usage - Cloudfunctions2 Full

Expand Down Expand Up @@ -525,10 +521,6 @@ resource "google_cloudfunctions2_function" "function" {
depends_on = [time_sleep.wait_60s]
}
output "function_uri" {
value = google_cloudfunctions2_function.function.service_config[0].uri
}
```
## Example Usage - Cloudfunctions2 Secret Env

Expand Down

0 comments on commit befd4e8

Please sign in to comment.