tfwriter

Terraform HCL code generator.

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

alicloud_edas_instance_cluster_attachment

back

Index

Terraform

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

top

Example Usage

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

  # cluster_id - (required) is a type of string
  cluster_id = null
  # instance_ids - (required) is a type of list of string
  instance_ids = []
}

top

Variables

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

variable "instance_ids" {
  description = "(required)"
  type        = list(string)
}

top

Resource

resource "alicloud_edas_instance_cluster_attachment" "this" {
  # cluster_id - (required) is a type of string
  cluster_id = var.cluster_id
  # instance_ids - (required) is a type of list of string
  instance_ids = var.instance_ids
}

top

Outputs

output "cluster_member_ids" {
  description = "returns a map of string"
  value       = alicloud_edas_instance_cluster_attachment.this.cluster_member_ids
}

output "ecu_map" {
  description = "returns a map of string"
  value       = alicloud_edas_instance_cluster_attachment.this.ecu_map
}

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

output "status_map" {
  description = "returns a map of number"
  value       = alicloud_edas_instance_cluster_attachment.this.status_map
}

output "this" {
  value = alicloud_edas_instance_cluster_attachment.this
}

top