* build(deps): bump the go group across 1 directory with 2 updates Bumps the go group with 2 updates in the / directory: [github.com/hashicorp/boundary/sdk](https://github.com/hashicorp/boundary) and [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs). Updates `github.com/hashicorp/boundary/sdk` from 0.0.52 to 0.0.53 - [Release notes](https://github.com/hashicorp/boundary/releases) - [Changelog](https://github.com/hashicorp/boundary/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/boundary/compare/api/v0.0.52...api/v0.0.53) Updates `github.com/hashicorp/terraform-plugin-docs` from 0.21.0 to 0.22.0 - [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.21.0...v0.22.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/boundary/sdk dependency-version: 0.0.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/hashicorp/terraform-plugin-docs dependency-version: 0.22.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go ... Signed-off-by: dependabot[bot] <support@github.com> * Regenerate docs --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
72 lines
2.5 KiB
Markdown
72 lines
2.5 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "boundary_managed_group_ldap Resource - terraform-provider-boundary"
|
|
subcategory: ""
|
|
description: |-
|
|
The managed group resource allows you to configure a Boundary group.
|
|
---
|
|
|
|
# boundary_managed_group_ldap (Resource)
|
|
|
|
The managed group resource allows you to configure a Boundary group.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "boundary_scope" "org" {
|
|
name = "organization_one"
|
|
description = "My first scope!"
|
|
scope_id = "global"
|
|
auto_create_admin_role = true
|
|
auto_create_default_role = true
|
|
}
|
|
|
|
resource "boundary_auth_method_ldap" "forumsys_ldap" {
|
|
name = "forumsys public LDAP"
|
|
scope_id = "global" # add the new auth method to the global scope
|
|
urls = ["ldap://ldap.forumsys.com"] # the addr of the LDAP server
|
|
user_dn = "dc=example,dc=com" # the basedn for users
|
|
user_attr = "uid" # the user attribute
|
|
group_dn = "dc=example,dc=com" # the basedn for groups
|
|
bind_dn = "cn=read-only-admin,dc=example,dc=com" # the dn to use when binding
|
|
bind_password = "password" # passwd to use when binding
|
|
state = "active-public" # make sure the new auth-method is available to everyone
|
|
enable_groups = true # this turns-on the discovery of a user's groups
|
|
discover_dn = true # this turns-on the discovery of an authenticating user's dn
|
|
}
|
|
|
|
resource "boundary_managed_group_ldap" "forumsys_scientists" {
|
|
name = "scientists"
|
|
description = "forumsys scientists managed group"
|
|
auth_method_id = boundary_auth_method_ldap.forumsys_ldap.id
|
|
group_names = ["Scientists"]
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `auth_method_id` (String) The resource ID for the auth method.
|
|
- `group_names` (List of String) The list of groups that make up the managed group.
|
|
|
|
### Optional
|
|
|
|
- `description` (String) The managed group description.
|
|
- `name` (String) The managed group name. Defaults to the resource name.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The ID of the group.
|
|
|
|
## Import
|
|
|
|
Import is supported using the following syntax:
|
|
|
|
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
|
|
|
|
```shell
|
|
terraform import boundary_managed_group_ldap.foo <my-id>
|
|
```
|