Skip to content

datasource_stack

ArthurHlt edited this page Dec 11, 2019 · 2 revisions

cloudfoundry_stack

Gets information on a particular Cloud Foundry stack.

Example Usage

The following example looks up a stack named 'my_custom_stack'.

data "cloudfoundry_stack" "mystack" {
    name = "my_custom_stack"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the stack to look up

Attributes Reference

The following attributes are exported:

  • id - The GUID of the stack
  • description - The description of the stack
  • labels - Map of labels as described here. Works only on cloud foundry with api >= v3.63.
  • annotations - Map of annotations as described here. Works only on cloud foundry with api >= v3.63.
Clone this wiki locally