Skip to content

Latest commit

 

History

History
114 lines (89 loc) · 2.11 KB

alicloud_alikafka_sasl_acls.md

File metadata and controls

114 lines (89 loc) · 2.11 KB

alicloud_alikafka_sasl_acls

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_alikafka_sasl_acls" {
  source = "./modules/alicloud/d/alicloud_alikafka_sasl_acls"

  # acl_resource_name - (required) is a type of string
  acl_resource_name = null
  # acl_resource_type - (required) is a type of string
  acl_resource_type = null
  # instance_id - (required) is a type of string
  instance_id = null
  # output_file - (optional) is a type of string
  output_file = null
  # username - (required) is a type of string
  username = null
}

top

Variables

variable "acl_resource_name" {
  description = "(required)"
  type        = string
}

variable "acl_resource_type" {
  description = "(required)"
  type        = string
}

variable "instance_id" {
  description = "(required)"
  type        = string
}

variable "output_file" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "username" {
  description = "(required)"
  type        = string
}

top

Datasource

data "alicloud_alikafka_sasl_acls" "this" {
  # acl_resource_name - (required) is a type of string
  acl_resource_name = var.acl_resource_name
  # acl_resource_type - (required) is a type of string
  acl_resource_type = var.acl_resource_type
  # instance_id - (required) is a type of string
  instance_id = var.instance_id
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # username - (required) is a type of string
  username = var.username
}

top

Outputs

output "acls" {
  description = "returns a list of object"
  value       = data.alicloud_alikafka_sasl_acls.this.acls
}

output "id" {
  description = "returns a string"
  value       = data.alicloud_alikafka_sasl_acls.this.id
}

output "this" {
  value = alicloud_alikafka_sasl_acls.this
}

top