From 72c2b9a54a47a6c20964aa727f3130fd9bb502e6 Mon Sep 17 00:00:00 2001 From: Lorenzo Caggioni Date: Wed, 24 Jun 2020 18:13:45 +0200 Subject: [PATCH] Fix Variable description --- modules/endpoints/README.md | 4 ++-- modules/endpoints/variables.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/endpoints/README.md b/modules/endpoints/README.md index 2bd24d59..f57952e4 100644 --- a/modules/endpoints/README.md +++ b/modules/endpoints/README.md @@ -27,8 +27,8 @@ module "endpoint" { | name | description | type | required | default | |---|---|:---: |:---:|:---:| -| grpc_config | The configuration for a gRPC enpoint. Either this, openapi_config must be specified. | object({...}) | ✓ | | -| openapi_config | The configuration for an OpenAPI endopoint. Either this, grpc_config must be specified. | object({...}) | ✓ | | +| grpc_config | The configuration for a gRPC enpoint. Either this or openapi_config must be specified. | object({...}) | ✓ | | +| openapi_config | The configuration for an OpenAPI endopoint. Either this or grpc_config must be specified. | object({...}) | ✓ | | | service_name | The name of the service. Usually of the form '$apiname.endpoints.$projectid.cloud.goog'. | string | ✓ | | | *iam_members* | Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. | map(list(string)) | | {} | | *iam_roles* | Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. | list(string) | | [] | diff --git a/modules/endpoints/variables.tf b/modules/endpoints/variables.tf index 8ece3e76..76fb8b8b 100644 --- a/modules/endpoints/variables.tf +++ b/modules/endpoints/variables.tf @@ -15,7 +15,7 @@ */ variable "grpc_config" { - description = "The configuration for a gRPC enpoint. Either this, openapi_config must be specified." + description = "The configuration for a gRPC enpoint. Either this or openapi_config must be specified." type = object({ yaml_path = string protoc_output_path = string @@ -35,7 +35,7 @@ variable "iam_members" { } variable "openapi_config" { - description = "The configuration for an OpenAPI endopoint. Either this, grpc_config must be specified." + description = "The configuration for an OpenAPI endopoint. Either this or grpc_config must be specified." type = object({ yaml_path = string })