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

Fix: update data_yandex_mdb_kafka_user documentation #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 4 additions & 6 deletions website/docs/d/datasource_mdb_kafka_user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Get information about a user of the Yandex Managed Kafka cluster. For more infor
data "yandex_mdb_kafka_user" "foo" {
cluster_id = "some_cluster_id"
name = "test"
password = "pass123"
}

output "username" {
Expand All @@ -31,17 +30,16 @@ The following arguments are supported:

* `cluster_id` - (Required) The ID of the Kafka cluster.
* `name` - (Required) The name of the Kafka user.
* `password` - (Required) The password of the user.

## Attributes Reference

In addition to the arguments listed above, the following computed attributes are
exported:

* `permission` - (Optional) Set of permissions granted to the user. The structure is documented below.
* `permission` - Set of permissions granted to the user. The structure is documented below.

The `permission` block supports:

* `topic_name` - (Required) The name of the topic that the permission grants access to.
* `role` - (Required) The role type to grant to the topic.
* `allow_hosts` - (Optional) Set of hosts, to which this permission grants access to.
* `topic_name` - The name of the topic that the permission grants access to.
* `role` - The role type to grant to the topic.
* `allow_hosts` - Set of hosts, to which this permission grants access to.