» alicloud_alikafka_sasl_acls

This data source provides a list of ALIKAFKA Sasl acls in an Alibaba Cloud account according to the specified filters.

» Example Usage

data "alicloud_alikafka_sasl_acls" "sasl_acls_ds" {
  instance_id = "xxx"
  username = "username"
  acl_resource_type = "Topic"
  acl_resource_name = "testTopic"
  output_file = "saslAcls.txt"

output "first_sasl_acl_username" {
  value = "${data.alicloud_alikafka_sasl_acls.sasl_acls_ds.acls.0.username}"

» Argument Reference

The following arguments are supported:

  • instance_id - (Required) ID of the ALIKAFKA Instance that owns the sasl acls.
  • username - (Required) Get results for the specified username.
  • acl_resource_type - (Required) Get results for the specified resource type.
  • acl_resource_name - (Required) Get results for the specified resource name.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

The following attributes are exported in addition to the arguments listed above: