https://pulumi.com logo
#google-cloud
Title
# google-cloud
w

wet-soccer-72485

11/21/2020, 5:31 PM
Does anyone have any advice for how to configure the dependency tree for ManagedSslCertificates with GKE Ingresses? I feel like with a couple of tweaks, I could figure out how to avoid a situation where Pulumi tries to delete it without first unasssigning it from the Ingress.
Copy code
-   └─ gcp:compute:ManagedSslCertificate  xxxxcert     **deleting failed**     1 error
Diagnostics:
  gcp:compute:ManagedSslCertificate (xxxxcert):
    error: deleting urn:pulumi:beta:xxxxxxx$gcp:compute/managedSslCertificate:ManagedSslCertificate::xxxxcert: 1 error occurred:
    	* Error when reading or editing ManagedSslCertificate: googleapi: Error 400: The ssl_certificate resource 'projects/xxx/global/sslCertificates/xxxxx-db58988' is already being used by 'projects/xxxxxx/global/targetHttpsProxies/xxxx-p0u1vzx7', resourceInUseByAnotherResource (edited)
3 Views