» Data Source: opentelekomcloud_rts_stack_v1

The OpenTelekomCloud RTS Stack data source allows access to stack outputs and other useful data including the template body.

» Example Usage

variable "stack_name" { }

data "opentelekomcloud_rts_stack_v1" "mystack" {
  name = "${var.stack_name}"  
}

» Argument Reference

The following arguments are supported:

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

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - A unique identifier of the stack.

  • capabilities - List of stack capabilities for stack.

  • notification_topics - List of notification topics for stack.

  • status - Specifies the stack status.

  • disable_rollback - Whether the rollback of the stack is disabled when stack creation fails.

  • outputs - A list of stack outputs.

  • parameters - A map of parameters that specify input parameters for the stack.

  • template_body - Structure containing the template body.

  • timeout_mins - Specifies the timeout duration.