Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cheelim1 committed Apr 21, 2023
1 parent 5cf4180 commit ffd7ea7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/application.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use this data source to get information about a Jumpcloud application.

```hcl
data "jumpcloud_application "example" {
name = "My Example Application"
name = "AWS IAM Identity Center"
}
```

Expand Down
14 changes: 5 additions & 9 deletions docs/resources/application.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Provides a resource for adding an Amazon Web Services (AWS) account application

```terraform
resource "jumpcloud_application" "example" {
display_name = "My AWS Account"
display_label = "My AWS Account"
sso_url = "https://sso.jumpcloud.com/saml2/example-application"
saml_role_attribute = "arn:aws:iam::AWS_ACCOUNT_ID:role/MY_ROLE,arn:aws:iam::AWS_ACCOUNT_ID:saml-provider/MY_SAML_PROVIDER"
aws_session_duration = 432000
Expand All @@ -26,18 +26,14 @@ resource "jumpcloud_application" "example" {

### Required

- `display_name` (String) Name of the application to display
- `aws_session_duration` (String) Value of the `https://aws.amazon.com/SAML/Attributes/SessionDuration` attribute.
- `display_label` (String) Name of the application to display
- `saml_role_attribute` (String) Value of the `https://aws.amazon.com/SAML/Attributes/Role` attribute.
- `sso_url` (String) The SSO URL suffix to use

### Optional

- `acs_url` (String)
- `display_label` (String)
- `idp_certificate` (String)
- `idp_entity_id` (String)
- `idp_private_key` (String)
- `organization` (String)
- `sp_entity_id` (String)
- `id` (String) The ID of this resource.

### Read-Only

Expand Down
35 changes: 35 additions & 0 deletions docs/resources/user_group_association.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "jumpcloud_user_group_association Resource - terraform-provider-jumpcloud"
subcategory: ""
description: |-
Provides a resource for associating a JumpCloud user group to objects like SSO applications.
---

# Resource `jumpcloud_user_group_association`

Provides a resource for associating a JumpCloud user group to objects like SSO applications.

## Example Usage

```terraform
resource "jumpcloud_user_group_association" "example" {
type = "application"
group_id = jumpcloud_user_group.example.id
object_id = jumpcloud_application.example.id
}
```

## Schema

### Required

- `group_id` (String) The ID of the `resource_user_group` resource.
- `object_id` (String) The ID of the object to associate to the group.
- `type` (String) The type of the object to associate to the given group. Possible values: `active_directory`, `application`, `command`, `g_suite`, `ldap_server`, `office_365`, `policy`, `radius_server`, `system`, `system_group`.

### Optional

- `id` (String) The ID of this resource.


0 comments on commit ffd7ea7

Please sign in to comment.