vmware-archive / terraforming-gcp

use terraform, deploy yourself a pcf
Apache License 2.0
71 stars 87 forks source link

remove count for google_compute_ssl_certificate #122

Open vchrisb opened 5 years ago

vchrisb commented 5 years ago

Looking at the files I think count for google_compute_ssl_certificate.certificate in module certs can be removed, as the resource is required to be present to create the gorouter LB.

The reason for the ask is, that I want to use an override file to set the var.ssl_cert from a different output (ACME) but can't be done due to the usage of var.ssl_cert to interpolate count via locals. https://github.com/pivotal-cf/terraforming-gcp/blob/43f6eec7bfaea72150dedc4218fcacf94b2cf473/modules/certs/certificate.tf#L2