back
terraform {
required_providers {
alicloud = ">= 1.120.0"
}
}
top
module "alicloud_ecs_hpc_cluster" {
source = "./modules/alicloud/r/alicloud_ecs_hpc_cluster"
# description - (optional) is a type of string
description = null
# name - (required) is a type of string
name = null
}
top
variable "description" {
description = "(optional)"
type = string
default = null
}
variable "name" {
description = "(required)"
type = string
}
top
resource "alicloud_ecs_hpc_cluster" "this" {
# description - (optional) is a type of string
description = var.description
# name - (required) is a type of string
name = var.name
}
top
output "id" {
description = "returns a string"
value = alicloud_ecs_hpc_cluster.this.id
}
output "this" {
value = alicloud_ecs_hpc_cluster.this
}
top