| --- |
| subcategory: "Compute Engine" |
| description: |- |
| Get info about a Regional Google Compute SSL Certificate. |
| --- |
| |
| # google\_compute\_region\_ssl\_certificate |
| |
| Get info about a Region Google Compute SSL Certificate from its name. |
| |
| ## Example Usage |
| |
| ```tf |
| data "google_compute_region_ssl_certificate" "my_cert" { |
| name = "my-cert" |
| } |
| |
| output "certificate" { |
| value = data.google_compute_region_ssl_certificate.my_cert.certificate |
| } |
| |
| output "certificate_id" { |
| value = data.google_compute_region_ssl_certificate.my_cert.certificate_id |
| } |
| |
| output "self_link" { |
| value = data.google_compute_region_ssl_certificate.my_cert.self_link |
| } |
| ``` |
| |
| ## Argument Reference |
| |
| The following arguments are supported: |
| |
| * `name` (Required) - The name of the certificate. |
| |
| - - - |
| |
| * `project` - (Optional) The project in which the resource belongs. If it |
| is not provided, the provider project is used. |
| |
| * `region` - (Optional) The region in which the resource belongs. If it |
| is not provided, the provider region is used. |
| |
| ## Attributes Reference |
| |
| See [google_compute_region_ssl_certificate](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_region_ssl_certificate) resource for details of the available attributes. |