Skip to content

Commit

Permalink
docs: generate docs
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Wasilewski <[email protected]>
  • Loading branch information
mwasilew2 committed Oct 9, 2023
1 parent bd3871d commit 97dacd9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 47 deletions.
33 changes: 33 additions & 0 deletions docs/resources/idp_group_mapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "spacelift_idp_group_mapping Resource - terraform-provider-spacelift"
subcategory: ""
description: |-
spacelift_idp_group_mapping represents a mapping (binding) between a user group (as provided by IdP) and a Spacelift User Management Policy. If you assign permissions (a Policy) to a user group, all users in the group will have those permissions unless the user's permissions are higher than the group's permissions.
---

# spacelift_idp_group_mapping (Resource)

`spacelift_idp_group_mapping` represents a mapping (binding) between a user group (as provided by IdP) and a Spacelift User Management Policy. If you assign permissions (a Policy) to a user group, all users in the group will have those permissions unless the user's permissions are higher than the group's permissions.



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

### Required

- `name` (String) Name of the mapping - should be unique in one account
- `policy` (Block List, Min: 1) (see [below for nested schema](#nestedblock--policy))

### Read-Only

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

<a id="nestedblock--policy"></a>
### Nested Schema for `policy`

Required:

- `role` (String) Type of access to the space. Possible values are: READ, WRITE, ADMIN
- `space_id` (String) ID (slug) of the space the user group will have access to
47 changes: 0 additions & 47 deletions docs/resources/user_group.md

This file was deleted.

0 comments on commit 97dacd9

Please sign in to comment.