Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.17 KB

File metadata and controls

38 lines (28 loc) · 1.17 KB
page_title subcategory description
cloudfoundry_role Data Source - terraform-provider-cloudfoundry
Gets information on a Cloud Foundry role with a given role ID.

cloudfoundry_role (Data Source)

Gets information on a Cloud Foundry role with a given role ID.

Example Usage

data "cloudfoundry_role" "my_role" {
  id = "e17839d9-cd4f-4e4b-baf0-18786f12fede"
}

output "role_object" {
  value = data.cloudfoundry_role.my_role
}

Schema

Required

  • id (String) The guid for the role

Read-Only

  • created_at (String) The date and time when the resource was created in RFC3339 format.
  • org (String) The guid of the organization the role is assigned to
  • space (String) The guid of the space the role is assigned to
  • type (String) Role type; see Valid role types
  • updated_at (String) The date and time when the resource was updated in RFC3339 format.
  • user (String) The guid of the cloudfoundry user the role is assigned to