From c3c93df729c152a6e72ddc69b30ebf1df07121e7 Mon Sep 17 00:00:00 2001 From: karolgorc Date: Tue, 30 Jul 2024 20:35:00 +0200 Subject: [PATCH] Update documentation for resources that don't support gcloud's syntax (#11279) --- .../website/docs/d/compute_instance_template.html.markdown | 2 +- .../docs/d/compute_region_instance_template.html.markdown | 2 +- .../terraform/website/docs/d/compute_snapshot.html.markdown | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mmv1/third_party/terraform/website/docs/d/compute_instance_template.html.markdown b/mmv1/third_party/terraform/website/docs/d/compute_instance_template.html.markdown index a5729e9d97cb..b3b7133bf159 100644 --- a/mmv1/third_party/terraform/website/docs/d/compute_instance_template.html.markdown +++ b/mmv1/third_party/terraform/website/docs/d/compute_instance_template.html.markdown @@ -41,7 +41,7 @@ The following arguments are supported: - `name` - (Optional) The name of the instance template. One of `name`, `filter` or `self_link_unique` must be provided. - `filter` - (Optional) A filter to retrieve the instance templates. - See [gcloud topic filters](https://cloud.google.com/sdk/gcloud/reference/topic/filters) for reference. + See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference. If multiple instance templates match, either adjust the filter or specify `most_recent`. One of `name`, `filter` or `self_link_unique` must be provided. diff --git a/mmv1/third_party/terraform/website/docs/d/compute_region_instance_template.html.markdown b/mmv1/third_party/terraform/website/docs/d/compute_region_instance_template.html.markdown index 4ee408154242..108ddcf85cd6 100644 --- a/mmv1/third_party/terraform/website/docs/d/compute_region_instance_template.html.markdown +++ b/mmv1/third_party/terraform/website/docs/d/compute_region_instance_template.html.markdown @@ -33,7 +33,7 @@ The following arguments are supported: - `name` - (Optional) The name of the instance template. One of `name` or `filter` must be provided. - `filter` - (Optional) A filter to retrieve the instance templates. - See [gcloud topic filters](https://cloud.google.com/sdk/gcloud/reference/topic/filters) for reference. + See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionInstanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference. If multiple instance templates match, either adjust the filter or specify `most_recent`. One of `name` or `filter` must be provided. - `most_recent` - (Optional) If `filter` is provided, ensures the most recent template is returned when multiple instance templates match. One of `name` or `filter` must be provided. diff --git a/mmv1/third_party/terraform/website/docs/d/compute_snapshot.html.markdown b/mmv1/third_party/terraform/website/docs/d/compute_snapshot.html.markdown index c584d00257a4..a334586aa8f0 100644 --- a/mmv1/third_party/terraform/website/docs/d/compute_snapshot.html.markdown +++ b/mmv1/third_party/terraform/website/docs/d/compute_snapshot.html.markdown @@ -34,7 +34,7 @@ The following arguments are supported: * `name` - (Optional) The name of the compute snapshot. One of `name` or `filter` must be provided. * `filter` - (Optional) A filter to retrieve the compute snapshot. - See [gcloud topic filters](https://cloud.google.com/sdk/gcloud/reference/topic/filters) for reference. + See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/snapshots/list#body.QUERY_PARAMETERS.filter) for reference. If multiple compute snapshot match, either adjust the filter or specify `most_recent`. One of `name` or `filter` must be provided. If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Example `sourceDisk eq '.*(.*/data-disk$).*'`. More details for golang Snapshots list call filters [here](https://pkg.go.dev/google.golang.org/api/compute/v1#SnapshotsListCall.Filter).