Skip to content

datasource_service_instance

ArthurHlt edited this page Dec 11, 2019 · 2 revisions

cloudfoundry_service_instance

Gets information on a Cloud Foundry service instance.

Example Usage

data "cloudfoundry_service_instance" "my-instance" {
    name_or_id = "my-service-instance"
    space      = "space-id"
}

Argument Reference

The following arguments are supported:

  • name_or_id - (Required) The name of the service instance or its guid.
  • space - (Required) The space guid of the app.

Attributes Reference

The following attributes are exported:

  • id - The GUID of the service instance.
  • name - The name of the service instance.
  • service_plan_id - The service plan used by the service instance.
  • tags - Tags set during service instance creations.
Clone this wiki locally