Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 2.57 KB

File metadata and controls

65 lines (50 loc) · 2.57 KB
page_title subcategory description
cloudfoundry_routes Data Source - terraform-provider-cloudfoundry
Gets information on a Cloud Foundry route.

cloudfoundry_routes (Data Source)

Gets information on a Cloud Foundry route.

Example Usage

data "cloudfoundry_routes" "routes" {
  org = "02c0cc92-6ecc-44b1-b7b2-096ca19ee143"
}

Schema

Optional

  • domain (String) The domain guid associated to the route.
  • host (String) The hostname associated to the route to lookup.
  • org (String) The org guid associated to the route to lookup.
  • path (String) The path associated to the route to lookup.
  • port (Number) The port associated to the route to lookup.
  • space (String) The space guid associated to the route.

Read-Only

Nested Schema for routes

Read-Only:

  • 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.
  • destinations (Attributes Set) A destination represents the relationship between a route and a resource that can serve traffic. (see below for nested schema)
  • domain (String) The domain guid associated to the route.
  • host (String) The hostname associated to the route to lookup.
  • id (String) The GUID of the object.
  • labels (Map of String) The labels associated with Cloud Foundry resources.
  • path (String) The path associated to the route to lookup.
  • port (Number) The port associated to the route to lookup.
  • protocol (String) The protocol supported by the route, based on the route's domain configuration.
  • space (String) The space guid associated to the route.
  • updated_at (String) The date and time when the resource was updated in RFC3339 format.
  • url (String) The URL for the route.

Nested Schema for routes.destinations

Read-Only:

  • app_id (String) The GUID of the app to route traffic to.
  • app_process_type (String) Type of the process belonging to the app to route traffic to.
  • id (String) The GUID of the object.
  • port (Number) Port on the destination process to route traffic to.
  • protocol (String) Protocol to use for this destination.
  • weight (Number) Percentage of traffic which will be routed to this destination.