From 319d5e063fe78136ab2834310112435e1695859a Mon Sep 17 00:00:00 2001 From: trotttrotttrott Date: Wed, 16 Jan 2019 12:51:04 -0700 Subject: [PATCH] Generate docs with "enable_apis" variable added --- README.md | 20 ++++++++++---------- test/fixtures/minimal/README.md | 29 ++++++++++++++--------------- 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 22a57116..ba3943dd 100644 --- a/README.md +++ b/README.md @@ -16,29 +16,29 @@ module "memorystore" { [^]: (autogen_docs_start) - ## Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| -| alternative_location_id | The alternative zone where the instance will be provisioned. | string | `` | no | -| authorized_network | The name of the memorystore authorized network. | string | `` | no | -| display_name | An arbitrary and optional user-provided name for the instance. | string | `` | no | -| labels | The resource labels to represent user provided metadata. | string | `` | no | -| location_id | The zone where the instance will be provisioned. | string | `` | no | -| memory_size_gb | Redis memory size in GiB. | string | - | yes | +| alternative\_location\_id | The alternative zone where the instance will be provisioned. | string | `` | no | +| authorized\_network | The name of the memorystore authorized network. | string | `` | no | +| display\_name | An arbitrary and optional user-provided name for the instance. | string | `` | no | +| enable\_apis | Enable required APIs for Cloud Memorystore. | string | `true` | no | +| labels | The resource labels to represent user provided metadata. | map | `` | no | +| location\_id | The zone where the instance will be provisioned. | string | `` | no | +| memory\_size\_gb | Redis memory size in GiB. | string | - | yes | | name | The ID of the instance or a fully qualified identifier for the instance. | string | - | yes | | project | The ID of the project in which the resource belongs to. | string | - | yes | -| redis_version | The version of Redis software. | string | `` | no | +| redis\_version | The version of Redis software. | string | `` | no | | region | The GCP region to use. | string | `` | no | -| reserved_ip_range | The CIDR range of internal addresses that are reserved for this instance. | string | `` | no | +| reserved\_ip\_range | The CIDR range of internal addresses that are reserved for this instance. | string | `` | no | | tier | The service tier of the instance. | string | `STANDARD_HA` | no | ## Outputs | Name | Description | |------|-------------| -| current_location_id | The current zone where the Redis endpoint is placed. | +| current\_location\_id | The current zone where the Redis endpoint is placed. | | host | The IP address of the instance. | | id | The memorystore instance ID. | | region | The region the instance lives in. | diff --git a/test/fixtures/minimal/README.md b/test/fixtures/minimal/README.md index 2a149d18..608bea30 100644 --- a/test/fixtures/minimal/README.md +++ b/test/fixtures/minimal/README.md @@ -4,31 +4,30 @@ This test with create a new redis instance. [^]: (autogen_docs_start) - ## Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| -| credentials_path | Path to service account key (usually credentials.json). | string | - | yes | -| location_id | Zone to create test instance. | string | `us-east1-b` | no | -| memory_size_gb | Memory size of test instance. | string | `1` | no | +| credentials\_path | Path to service account key (usually credentials.json). | string | - | yes | +| location\_id | Zone to create test instance. | string | `us-east1-b` | no | +| memory\_size\_gb | Memory size of test instance. | string | `1` | no | | name | Name of redis instance. | string | `test-minimal` | no | -| project_id | Google cloud project id to create redis instance. | string | - | yes | +| project\_id | Google cloud project id to create redis instance. | string | - | yes | | region | Region to create test instance. | string | `us-east1` | no | ## Outputs | Name | Description | |------|-------------| -| credentials_path | | -| location_id | | -| memory_size_gb | | -| name | | -| output_current_location_id | | -| output_host | | -| output_id | | -| output_region | | -| project_id | | -| region | | +| credentials\_path | - | +| location\_id | - | +| memory\_size\_gb | - | +| name | - | +| output\_current\_location\_id | - | +| output\_host | - | +| output\_id | - | +| output\_region | - | +| project\_id | - | +| region | - | [^]: (autogen_docs_end) \ No newline at end of file