» huaweicloud_rts_stack_v1

The Huaweicloud Resource Template Service Stack data source allows access to stack outputs and other useful data including the template body.

» Example Usage

The following example shows how one might accept a VPC id as a variable and use this data source to obtain the data necessary to create a subnet within it.

variable "stack_name" { }

data "huaweicloud_rts_stack_v1" "stacks" {
  name = "${var.stack_name}"
}

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the stack.

» Attributes Reference

The following attributes are exported: