Skip to content

Commit d1306be

Browse files
Add directory services config field to Filestore instance in beta (#13727) (#22585)
[upstream:85e697c16f11c2edd1f77975c98eb009a6a4df0e] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent d4064e4 commit d1306be

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

website/docs/r/filestore_instance.html.markdown

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,12 @@ The following arguments are supported:
330330
Addtionally this should be specified on the replica instance only, indicating the active as the peer_instance
331331
Structure is [documented below](#nested_initial_replication).
332332

333+
* `directory_services` -
334+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
335+
Directory Services configuration.
336+
Should only be set if protocol is "NFS_V4_1".
337+
Structure is [documented below](#nested_directory_services).
338+
333339
* `zone` -
334340
(Optional, Deprecated)
335341
The name of the Filestore zone of the instance.
@@ -397,6 +403,41 @@ The following arguments are supported:
397403
(Required)
398404
The peer instance.
399405

406+
<a name="nested_directory_services"></a>The `directory_services` block supports:
407+
408+
* `ldap` -
409+
(Optional)
410+
Configuration for LDAP servers.
411+
Structure is [documented below](#nested_directory_services_ldap).
412+
413+
414+
<a name="nested_directory_services_ldap"></a>The `ldap` block supports:
415+
416+
* `domain` -
417+
(Required)
418+
The LDAP domain name in the format of `my-domain.com`.
419+
420+
* `servers` -
421+
(Required)
422+
The servers names are used for specifying the LDAP servers names.
423+
The LDAP servers names can come with two formats:
424+
1. DNS name, for example: `ldap.example1.com`, `ldap.example2.com`.
425+
2. IP address, for example: `10.0.0.1`, `10.0.0.2`, `10.0.0.3`.
426+
All servers names must be in the same format: either all DNS names or all
427+
IP addresses.
428+
429+
* `users_ou` -
430+
(Optional)
431+
The users Organizational Unit (OU) is optional. This parameter is a hint
432+
to allow faster lookup in the LDAP namespace. In case that this parameter
433+
is not provided, Filestore instance will query the whole LDAP namespace.
434+
435+
* `groups_ou` -
436+
(Optional)
437+
The groups Organizational Unit (OU) is optional. This parameter is a hint
438+
to allow faster lookup in the LDAP namespace. In case that this parameter
439+
is not provided, Filestore instance will query the whole LDAP namespace.
440+
400441
## Attributes Reference
401442

402443
In addition to the arguments listed above, the following computed attributes are exported:

0 commit comments

Comments
 (0)