Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 1.19 KB

alicloud_ecs_hpc_cluster.md

File metadata and controls

82 lines (61 loc) · 1.19 KB

alicloud_ecs_hpc_cluster

back

Index

Terraform

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

top

Example Usage

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

Variables

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

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

top

Resource

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

Outputs

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

output "this" {
  value = alicloud_ecs_hpc_cluster.this
}

top