tfwriter

Terraform HCL code generator.

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

alicloud_edas_application_scale

back

Index

Terraform

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

top

Example Usage

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

  # app_id - (required) is a type of string
  app_id = null
  # deploy_group - (required) is a type of string
  deploy_group = null
  # ecu_info - (required) is a type of list of string
  ecu_info = []
  # force_status - (optional) is a type of bool
  force_status = null
}

top

Variables

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

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

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

variable "force_status" {
  description = "(optional)"
  type        = bool
  default     = null
}

top

Resource

resource "alicloud_edas_application_scale" "this" {
  # app_id - (required) is a type of string
  app_id = var.app_id
  # deploy_group - (required) is a type of string
  deploy_group = var.deploy_group
  # ecu_info - (required) is a type of list of string
  ecu_info = var.ecu_info
  # force_status - (optional) is a type of bool
  force_status = var.force_status
}

top

Outputs

output "ecc_info" {
  description = "returns a string"
  value       = alicloud_edas_application_scale.this.ecc_info
}

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

output "this" {
  value = alicloud_edas_application_scale.this
}

top