tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_alikafka_instance

back

Index

Terraform

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

top

Example Usage

module "alicloud_alikafka_instance" {
  source = "./modules/alicloud/r/alicloud_alikafka_instance"

  # config - (optional) is a type of string
  config = null
  # deploy_type - (required) is a type of number
  deploy_type = null
  # disk_size - (required) is a type of number
  disk_size = null
  # disk_type - (required) is a type of number
  disk_type = null
  # eip_max - (optional) is a type of number
  eip_max = null
  # io_max - (required) is a type of number
  io_max = null
  # name - (optional) is a type of string
  name = null
  # paid_type - (optional) is a type of string
  paid_type = null
  # security_group - (optional) is a type of string
  security_group = null
  # service_version - (optional) is a type of string
  service_version = null
  # spec_type - (optional) is a type of string
  spec_type = null
  # tags - (optional) is a type of map of string
  tags = {}
  # topic_quota - (required) is a type of number
  topic_quota = null
  # vswitch_id - (required) is a type of string
  vswitch_id = null
}

top

Variables

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

variable "deploy_type" {
  description = "(required)"
  type        = number
}

variable "disk_size" {
  description = "(required)"
  type        = number
}

variable "disk_type" {
  description = "(required)"
  type        = number
}

variable "eip_max" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "io_max" {
  description = "(required)"
  type        = number
}

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

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

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

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

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

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

variable "topic_quota" {
  description = "(required)"
  type        = number
}

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

top

Resource

resource "alicloud_alikafka_instance" "this" {
  # config - (optional) is a type of string
  config = var.config
  # deploy_type - (required) is a type of number
  deploy_type = var.deploy_type
  # disk_size - (required) is a type of number
  disk_size = var.disk_size
  # disk_type - (required) is a type of number
  disk_type = var.disk_type
  # eip_max - (optional) is a type of number
  eip_max = var.eip_max
  # io_max - (required) is a type of number
  io_max = var.io_max
  # name - (optional) is a type of string
  name = var.name
  # paid_type - (optional) is a type of string
  paid_type = var.paid_type
  # security_group - (optional) is a type of string
  security_group = var.security_group
  # service_version - (optional) is a type of string
  service_version = var.service_version
  # spec_type - (optional) is a type of string
  spec_type = var.spec_type
  # tags - (optional) is a type of map of string
  tags = var.tags
  # topic_quota - (required) is a type of number
  topic_quota = var.topic_quota
  # vswitch_id - (required) is a type of string
  vswitch_id = var.vswitch_id
}

top

Outputs

output "config" {
  description = "returns a string"
  value       = alicloud_alikafka_instance.this.config
}

output "end_point" {
  description = "returns a string"
  value       = alicloud_alikafka_instance.this.end_point
}

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

output "name" {
  description = "returns a string"
  value       = alicloud_alikafka_instance.this.name
}

output "service_version" {
  description = "returns a string"
  value       = alicloud_alikafka_instance.this.service_version
}

output "vpc_id" {
  description = "returns a string"
  value       = alicloud_alikafka_instance.this.vpc_id
}

output "zone_id" {
  description = "returns a string"
  value       = alicloud_alikafka_instance.this.zone_id
}

output "this" {
  value = alicloud_alikafka_instance.this
}

top