From 899fd979d254ae2c305ecf37caf4a5d3373f81d8 Mon Sep 17 00:00:00 2001 From: Sonu Saha Date: Tue, 12 Dec 2023 16:29:49 +0530 Subject: [PATCH] docs: update docs for google_compute_service_attachment Signed-off-by: Sonu Saha --- README.md | 1 + docs/resources/google_compute_service_attachment.md | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fa1392260..d3e614a6f 100644 --- a/README.md +++ b/README.md @@ -376,6 +376,7 @@ The following resources are available in the InSpec GCP Profile | [google_vertex_ai_tensorboard_experiment_run_time_series_resource](docs/resources/google_vertex_ai_tensorboard_experiment_run_time_series_resource.md) | [google_vertex_ai_tensorboard_experiment_run_time_series_resources](docs/resources/google_vertex_ai_tensorboard_experiment_run_time_series_resources.md) | | [google_vertex_ai_training_pipeline](docs/resources/google_vertex_ai_training_pipeline.md) | [google_vertex_ai_training_pipelines](docs/resources/google_vertex_ai_training_pipelines.md) | | [google_composer_project_location_environment](docs/resources/google_composer_project_location_environment.md) | [google_composer_project_location_environments](docs/resources/google_composer_project_location_environment.md) | +| [google_compute_service_attachment](docs/resources/google_compute_service_attachment.md) | [google_compute_service_attachments](docs/resources/google_compute_service_attachments.md) | ## Examples diff --git a/docs/resources/google_compute_service_attachment.md b/docs/resources/google_compute_service_attachment.md index cc4deb7cf..534a81b39 100644 --- a/docs/resources/google_compute_service_attachment.md +++ b/docs/resources/google_compute_service_attachment.md @@ -8,7 +8,7 @@ A `google_compute_service_attachment` is used to test a Google ServiceAttachment ## Examples ``` -describe google_compute_service_attachment(project: 'chef-gcp-inspec', region: ' value_region', serviceAttachment: ' ') do +describe google_compute_service_attachment(project: 'chef-gcp-inspec', region: ' value_region', service_attachment: ' ') do it { should exist } its('kind') { should cmp 'value_kind' } its('id') { should cmp 'value_id' } @@ -24,7 +24,7 @@ describe google_compute_service_attachment(project: 'chef-gcp-inspec', region: ' end -describe google_compute_service_attachment(project: 'chef-gcp-inspec', region: ' value_region', serviceAttachment: ' ') do +describe google_compute_service_attachment(project: 'chef-gcp-inspec', region: ' value_region', service_attachment: ' ') do it { should_not exist } end ``` @@ -88,11 +88,11 @@ Properties that can be accessed from the `google_compute_service_attachment` res * `connection_limit`: The value of the limit to set. - * `psc_service_attachment_id`: + * `psc_service_attachment_id`: - * `high`: + * `high`: - * `low`: + * `low`: * `fingerprint`: Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.