Skip to content

Commit 9d35b2f

Browse files
Fix eventarc test template (#6066) (#4343)
* Fix eventarc test template * Update steps * Final one Signed-off-by: Modular Magician <[email protected]>
1 parent c8fed9e commit 9d35b2f

File tree

3 files changed

+33
-12
lines changed

3 files changed

+33
-12
lines changed

.changelog/6066.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_eventarc_trigger_generated_test.go

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,12 @@ resource "google_cloud_run_service" "default" {
104104
spec {
105105
containers {
106106
image = "gcr.io/cloudrun/hello"
107-
args = ["arrgs"]
107+
ports {
108+
container_port = 8080
109+
}
108110
}
109-
container_concurrency = 50
111+
container_concurrency = 50
112+
timeout_seconds = 100
110113
}
111114
}
112115
@@ -157,9 +160,12 @@ resource "google_cloud_run_service" "default" {
157160
spec {
158161
containers {
159162
image = "gcr.io/cloudrun/hello"
160-
args = ["arrgs"]
163+
ports {
164+
container_port = 8080
165+
}
161166
}
162-
container_concurrency = 50
167+
container_concurrency = 50
168+
timeout_seconds = 100
163169
}
164170
}
165171
@@ -181,9 +187,12 @@ resource "google_cloud_run_service" "default2" {
181187
spec {
182188
containers {
183189
image = "gcr.io/cloudrun/hello"
184-
args = ["arrgs"]
190+
ports {
191+
container_port = 8080
192+
}
185193
}
186-
container_concurrency = 50
194+
container_concurrency = 50
195+
timeout_seconds = 100
187196
}
188197
}
189198
@@ -243,9 +252,12 @@ resource "google_cloud_run_service" "default" {
243252
spec {
244253
containers {
245254
image = "gcr.io/cloudrun/hello"
246-
args = ["arrgs"]
255+
ports {
256+
container_port = 8080
257+
}
247258
}
248-
container_concurrency = 50
259+
container_concurrency = 50
260+
timeout_seconds = 100
249261
}
250262
}
251263
@@ -267,9 +279,12 @@ resource "google_cloud_run_service" "default2" {
267279
spec {
268280
containers {
269281
image = "gcr.io/cloudrun/hello"
270-
args = ["arrgs"]
282+
ports {
283+
container_port = 8080
284+
}
271285
}
272-
container_concurrency = 50
286+
container_concurrency = 50
287+
timeout_seconds = 100
273288
}
274289
}
275290

website/docs/r/eventarc_trigger.html.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@ resource "google_cloud_run_service" "default" {
6161
spec {
6262
containers {
6363
image = "gcr.io/cloudrun/hello"
64-
args = ["arrgs"]
64+
ports {
65+
container_port = 8080
66+
}
6567
}
66-
container_concurrency = 50
68+
container_concurrency = 50
69+
timeout_seconds = 100
6770
}
6871
}
6972

0 commit comments

Comments
 (0)