Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rediscloud_acl_user.md #412

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 6 additions & 22 deletions docs/resources/rediscloud_acl_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,22 @@ Creates a User in your Redis Enterprise Cloud Account.
## Example Usage

```hcl
resource "rediscloud_acl_user" "user-resource-implicit" {
name = "fast-admin-john"
# An implicit dependency is recommended
role = rediscloud_acl_role.fast_admin.name
resource "rediscloud_acl_user" "user-resource" {
name = "my-user"
role = rediscloud_acl_role.role-resource.name
password = "mY.passw0rd"
}

resource "rediscloud_acl_user" "user-resource-explicit" {
name = "fast-admin-john"
role = "fast-admin"
password = "mY.passw0rd"

# An explicit resource dependency can be used if preferred
depends_on = [
rediscloud_acl_role.fast_admin
]
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required, change forces recreation) A meaningful name for the User. Must be unique. An error occurs if a
user tries to connect to
a `memcached` database with the username `admin`.
* `role` - (Required) The name of the Role held by the User. It is recommended an implicit dependency is used
here. `depends_on` could be used instead by waiting for a Role resource with a matching `name`.
* `name` - (Required, change forces recreation) A meaningful name for the User. Must be unique.
* `role` - (Required) The name of the Role held by the User.
* `password` - (Required, change forces recreation) The password for this ACL User. Must contain a lower-case letter, a
upper-case letter, a
number and a special character. Can be updated but since it is not returned by the API, we have no way of detecting
drift, so the entity would be entirely replaced. Take special care with multiple versions of Terraform State.
number and a special character.

### Timeouts

Expand Down