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: