From 08c3cb6b69ae61e276af44c7ae58d1d179b09b1a Mon Sep 17 00:00:00 2001 From: Giuseppe Maxia Date: Wed, 25 Oct 2023 17:56:25 +0200 Subject: [PATCH] Update docs Signed-off-by: Giuseppe Maxia --- website/docs/r/org_ldap.html.markdown | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/website/docs/r/org_ldap.html.markdown b/website/docs/r/org_ldap.html.markdown index 07bc78ee8..51611cacc 100644 --- a/website/docs/r/org_ldap.html.markdown +++ b/website/docs/r/org_ldap.html.markdown @@ -14,7 +14,7 @@ Supported in provider *v3.8+* -> **Note:** This resource requires system administrator privileges. -## Example Usage +## Example Usage 1 - Custom configuration ```hcl provider "vcd" { @@ -80,6 +80,20 @@ resource "vcd_org_ldap" "my-org-ldap" { } ``` +## Example Usage 2 - Using system configuration + +```hcl +data "vcd_org" "my-org" { + name = "my-org" +} + +resource "vcd_org_ldap" "my-org-ldap" { + org_id = data.vcd_org.my-org.id + ldap_mode = "SYSTEM" + custom_user_ou = "ou=Foo,dc=domain,dc=local base DN" +} +``` + ## Argument Reference The following arguments are supported: