Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes in SAML group link resource
- Loading branch information
1 parent
e7a2020
commit 43fb2cf
Showing
3 changed files
with
98 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "gitlab_group_saml_link Resource - terraform-provider-gitlab" | ||
subcategory: "" | ||
description: |- | ||
The gitlab_group_saml_link resource allows to manage the lifecycle of an SAML integration with a group. | ||
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/groups.html#saml-group-links | ||
--- | ||
|
||
# gitlab_group_saml_link (Resource) | ||
|
||
The `gitlab_group_saml_link` resource allows to manage the lifecycle of an SAML integration with a group. | ||
|
||
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#saml-group-links) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "gitlab_group_saml_link" "test" { | ||
group_id = "12345" | ||
access_level = "Developer" | ||
saml_group_name = "samlgroupname1" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `access_level` (String) Access level for members of the SAML group. Valid values are: `Guest`, `Reporter`, `Developer`, `Maintainer`, `Owner`. | ||
- `group` (String) The ID or path of the group to add the SAML Group Link to. | ||
- `saml_group_name` (String) The name of the SAML group. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
# GitLab group saml links can be imported using an id made up of `group_id:saml_group_name`, e.g. | ||
terraform import gitlab_group_saml_link.test "12345:samlgroupname1" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters