Skip to content

Commit d7d5bdf

Browse files
authored
Document auth_string output parameter for google_redis_instance (GoogleCloudPlatform#12344)
1 parent 9e83dc2 commit d7d5bdf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

mmv1/products/redis/Instance.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ references:
2020
'Official Documentation': 'https://cloud.google.com/memorystore/docs/redis/'
2121
api: 'https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances'
2222
docs:
23+
attributes: |
24+
* `auth_string` - AUTH String set on the instance. This field will only be populated if auth_enabled is true.
2325
base_url: 'projects/{{project}}/locations/{{region}}/instances'
2426
create_url: 'projects/{{project}}/locations/{{region}}/instances?instanceId={{name}}'
2527
update_verb: 'PATCH'

mmv1/templates/terraform/resource.html.markdown.tmpl

+3
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ In addition to the arguments listed above, the following computed attributes are
148148
* `self_link` - The URI of the created resource.
149149
{{ "" }}
150150
{{- end }}
151+
{{- if $.Docs.Attributes }}
152+
{{ $.Docs.Attributes }}
153+
{{- end }}
151154
{{ range $p := $.AllUserProperties }}
152155
{{- if $p.Output }}
153156
{{- trimTemplate "nested_property_documentation.html.markdown.tmpl" $p }}

0 commit comments

Comments
 (0)