Skip to content

Commit

Permalink
Ran by hand:
Browse files Browse the repository at this point in the history
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
  • Loading branch information
monde committed Sep 16, 2024
1 parent 7684b9e commit 8adab16
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ terraform {
required_providers {
okta = {
source = "okta/okta"
version = "~> 4.10.0"
version = "~> 4.11.0"
}
}
}
Expand Down
49 changes: 49 additions & 0 deletions docs/resources/group_owner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
page_title: "Resource: okta_group_owner"
description: |-
Manages group owner resource.
---

# Resource: okta_group_owner

Manages group owner resource.

## Example Usage

```terraform
resource "okta_user" "test" {
first_name = "TestAcc"
last_name = "Smith"
login = "testAcc-replace_with_uuid@example.com"
email = "testAcc-replace_with_uuid@example.com"
}
resource "okta_group" "test" {
name = "testAcc_replace_with_uuid"
}
resource "okta_group_owner" "test" {
group_id = okta_group.test.id
id_of_group_owner = okta_user.test.id
type = "USER"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `group_id` (String) The id of the group
- `id_of_group_owner` (String) The user id of the group owner
- `type` (String) The entity type of the owner. Enum: "GROUP" "USER"

### Read-Only

- `display_name` (String) The display name of the group owner
- `id` (String) The id of the group owner resource
- `origin_id` (String) The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.
- `origin_type` (String) The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY"
- `resolved` (Boolean) If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.


0 comments on commit 8adab16

Please sign in to comment.