forseti-security/terraform-google-forseti

Output more GCE things

Closed this issue · 0 comments

Hi,

I'm trying to use terraform to create IAM bindings on the Forseti client VM.
The client module isn't outputting enough for me to find the VM.

All the possible GCE instances are created in "non-standard" zones ("${var.XYZ_region}-c"), i.e. not the provider zone.
Therefore google_compute_instance can't find the instance.

Error: Cannot determine zone: set in this resource, or set provider-level zone.

For now I'll hard code the same logic for specifying the zone and not try to use google_compute_instance to find the zone.

Could you output something like forseti-client-vm-zone?
Server and cloudsql too.
Maybe self_link as well, or instead of.