Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Description
The GCP trust config terraform resource ( google_certificate_manager_trust_config) is supposed to have the allowlisted certificates list as per the documentation https://cloud.google.com/certificate-manager/docs/trust-configs. At the moment, the only option is to add it using yaml. The terraform resource doesn't have the allowlist attribute to add the allowlisted certificates.
New or Affected Resource(s)
google_certificate_manager_trust_config
Potential Terraform Configuration
resource "google_certificate_manager_trust_config" "default" {
name = "trust-config"
description = "sample description for the trust config"
location = "us-central1"
Community Note
Description
The GCP trust config terraform resource ( google_certificate_manager_trust_config) is supposed to have the allowlisted certificates list as per the documentation https://cloud.google.com/certificate-manager/docs/trust-configs. At the moment, the only option is to add it using yaml. The terraform resource doesn't have the allowlist attribute to add the allowlisted certificates.
New or Affected Resource(s)
google_certificate_manager_trust_config
Potential Terraform Configuration
resource "google_certificate_manager_trust_config" "default" { name = "trust-config" description = "sample description for the trust config" location = "us-central1"
trust_stores { trust_anchors { pem_certificate = file("test-fixtures/cert.pem") } intermediate_cas { pem_certificate = file("test-fixtures/cert.pem") } } allowlisted_certificates{ pem_certificate = file("test-fixtures/cert.pem") }
labels = { foo = "bar" } }
References
No response
b/347723017