Add region in google_compute_network / subnetwork
ocervell opened this issue · 2 comments
ocervell commented
On the subnetwork datasource, we should add the region
parameter: indeed, if it is unset in the provider, the module will fail to run:
However, setting it in the provider is not always the right thing to do (if you work with multiple regions for instance), and it would be nice to be able to pass it explicitely to the datasource.
Can we please add a region
variable ?
morgante commented
There's already a region variable, so it would be a simple matter of adding it to the data source.
PR welcome.