Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.61 KB

File metadata and controls

53 lines (38 loc) · 1.61 KB
page_title subcategory description
cloudfoundry_spaces Data Source - terraform-provider-cloudfoundry
Lists all spaces under an organization.

cloudfoundry_spaces (Data Source)

Lists all spaces under an organization.

Example Usage

data "cloudfoundry_spaces" "spaces" {
  org = "784b4cd0-4771-4e4d-9052-a07e178bae56f"
}

output "spaces" {
  value = data.cloudfoundry_spaces.spaces
}

Schema

Required

  • org (String) The GUID of the organization under which the spaces exist

Optional

  • name (String) The name of the space to look up

Read-Only

Nested Schema for spaces

Read-Only:

  • allow_ssh (Boolean) Allows SSH to application containers via the CF CLI.
  • annotations (Map of String) The annotations associated with Cloud Foundry resources.
  • created_at (String) The date and time when the resource was created in RFC3339 format.
  • id (String) The GUID of the object.
  • isolation_segment (String) The ID of the isolation segment assigned to the space.
  • labels (Map of String) The labels associated with Cloud Foundry resources.
  • name (String) name of the space
  • org (String) The GUID of the organization the space is contained in
  • quota (String) The space quota applied to the space
  • updated_at (String) The date and time when the resource was updated in RFC3339 format.