orange-cloudfoundry / terraform-provider-cloudfoundry

A terraform provider to manage a Cloud Foundry instance.
Apache License 2.0
31 stars 8 forks source link

Enable org and space data source through their guid instead of name #27

Closed gberche-orange closed 7 years ago

gberche-orange commented 7 years ago

Currently, the org and space require their name to be specified as data source variables.

When using these resources to support an service broker getting input from from the service broker api such as the PUT /v2/service_instances/:instance_id end point, only the org guid and space guid are available.

Being able to reference org and space only using their guid would support such "cloudfoundry-terraform" broker.

ArthurHlt commented 7 years ago

New releases include this functionality. You can pass by_id parameter to find resource by its id.