tfwriter

Terraform HCL code generator.

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

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