orange-cloudfoundry / terraform-provider-cloudfoundry

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

Question: Is the `routes` default value of NULL equivalent to `no-route: true` for `resource "cloudfoundry_app"` ? #30

Closed snowch closed 6 years ago

snowch commented 6 years ago

The resource "cloudfoundry_app" routes parameter is defined as follows:

routes: (Optional, default: NULL) List of route guid retrieve from resource or data source routes to attach routes to your app.

Is the routes default value of NULL equivalent to setting the option no-route: true?

ArthurHlt commented 6 years ago

Hello @snowch , Yes exactly, actually no-route is a cf cli option. It didn't exists inside the API.

You can also have a look to https://github.com/orange-cloudfoundry/terraform-cloudfoundry-modules to push your app in a cli manifest style (but option no-route didn't exists too here)

snowch commented 6 years ago

Thanks @ArthurHlt!