Hi Team,
can we use both Google Managed Certificate and Self Managed Certificates across different projects. if so how. we want to create load balancer in different project. using one certificate
Hi @prafuljavali19 ,
Edit -
@prafuljavali19 wrote:
can we use both Google Managed Certificate and Self Managed Certificates across different projects. if so how. we want to create load balancer in different project. using one certificate
This is not possible as certificates cannot be shared across different projects.
Can you provide documentation on how to create a cert map entry for a certificate in another project.
Can you please provide more details for 1. Any documentation or examples?
From my current understanding, is it is not possible. And it's a problem for my team and we are fighting against GCP with workarounds as a result.
We use Terraform (Pulumi) to provision the certificate and load balancer. We receive an error stating that the load balancer and certificate must be in the same projects, which contradicts the information in your post.
Specifically:
in project A we have:
- a Google Managed SSL Certificate (Certificate, CertificateMap, CertificateMapEntry)
in project B we have:
- the load balancer (URLMap, TargetHttpsProxy, ...)
When we create the Load Balancer in Project B, the creation of the TargetHttpsProxy references the certificate map from project A. This fails with a 400 error stating that the certificate and TargetHttpsProxy must be in the same project.
Hopefully this is clear but we can provide an example repo with a minimal reproducible example this if this needed.