Skip to content

Unable to reference regional certificate manager certificates to a regional HTTPS proxy #4999

@srinathrangaramanujam

Description

@srinathrangaramanujam

Checklist

  • I did not find a related open enhancement request.
  • I understand that enhancement requests filed in the GitHub repository are by default low priority.
  • If this request is time-sensitive, I have submitted a corresponding issue with GCP support.

Describe the feature or resource

Hey Guys,

When trying to create a ComputeTargetHTTPSProxy, I am unable to attach a regional certificate manager certficate ie when certificateManagerCertificates.external property is set to "projects/project-id/locations/europe-west1/certificates/europe-west1-local-srinath-2-co-gcp-dhplatform-cloud", i get error that the certificate are not a global one.

This is not the case when deploying through terraform as it works correctly,

resource "google_compute_region_target_https_proxy" "alb_target_ssl_proxy_https" {
certificate_manager_certificates = ["projects/project-id/locations/europe-west1/certificates/europe-west1-local-srinath-2-co-gcp-dhplatform-cloud"]
}

Upon checking the CC is stil using a old version of the gcp provider, which doesnt take into the new apis.
https://github.com/GoogleCloudPlatform/k8s-config-connector/blob/058b2061ed16c7b76ce196e2043e4d94aba66838/third_party/github.com/hashicorp/terraform-provider-google-beta/google-beta/services/compute/resource_compute_region_target_https_proxy.go#L149C2-L149C21

The terraform provider handles the certificateManagerCertificates differently
https://github.com/hashicorp/terraform-provider-google/blob/37babef82028b61873a7c9bf3669b05722354c18/google/services/compute/resource_compute_region_target_https_proxy.go#L200C2-L200C36

Additional information

GCP github case

Importance

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions