You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the synthetic monitor target type as an option for uptime checks. (#8709) (#15623)
* Adds synthetic_monitor type that lives alongside resource_group and monitored_resource
* removes requirement for either tcp_check or http_check to be provided, as neither is required when synthetic_monitor is provided
* Adds acceptance test, and example. A new test fixutre w/ zip file is provided for these flows.
Signed-off-by: Modular Magician <[email protected]>
name = google_cloudfunctions2_function.function.id
223
+
}
224
+
}
225
+
}
226
+
```
178
227
179
228
## Argument Reference
180
229
@@ -231,6 +280,11 @@ The following arguments are supported:
231
280
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks: uptime_url gce_instance gae_app aws_ec2_instance aws_elb_load_balancer k8s_service servicedirectory_service
232
281
Structure is [documented below](#nested_monitored_resource).
233
282
283
+
*`synthetic_monitor` -
284
+
(Optional)
285
+
A Synthetic Monitor deployed to a Cloud Functions V2 instance.
286
+
Structure is [documented below](#nested_synthetic_monitor).
287
+
234
288
*`project` - (Optional) The ID of the project in which the resource belongs.
235
289
If it is not provided, the provider project is used.
236
290
@@ -366,6 +420,20 @@ The following arguments are supported:
366
420
(Required)
367
421
Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
0 commit comments