Skip to content

Commit

Permalink
Merge pull request #1107 from LaurentLesle/patch-1
Browse files Browse the repository at this point in the history
Fix azuread_administrative_unit documentation
  • Loading branch information
manicminer authored Jul 12, 2023
2 parents a5a2264 + 4af483b commit 5fe516e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/resources/administrative_unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ When authenticated with a user principal, this resource requires one of the foll

```terraform
resource "azuread_administrative_unit" "example" {
display_name = "Example-AU"
description = "Just an example"
visibility = "Public"
display_name = "Example-AU"
description = "Just an example"
hidden_membership_enabled = false
}
```

Expand All @@ -34,7 +34,7 @@ The following arguments are supported:

!> **Warning** Do not use the `members` property at the same time as the [azuread_administrative_unit_member](https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/administrative_unit_member) resource for the same administrative unit. Doing so will cause a conflict and administrative unit members will be removed.

* `visibility` - (Optional) Whether the administrative unit _and_ its members are hidden or publicly viewable in the directory. Must be one of: `Hiddenmembership` or `Public`. Defaults to `Public`.
* `hidden_membership_enabled` - (Optional) Whether the administrative unit and its members are hidden or publicly viewable in the directory.

## Attributes Reference

Expand Down

0 comments on commit 5fe516e

Please sign in to comment.