https://github.com/nullstone-modules/terraform-gcp-sslcert
Terraform module to create an SSL certificate using Google Certificate Manager.
https://github.com/nullstone-modules/terraform-gcp-sslcert
Last synced: 4 months ago
JSON representation
Terraform module to create an SSL certificate using Google Certificate Manager.
- Host: GitHub
- URL: https://github.com/nullstone-modules/terraform-gcp-sslcert
- Owner: nullstone-modules
- License: mit
- Created: 2023-03-31T12:33:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T17:56:36.000Z (over 1 year ago)
- Last Synced: 2026-01-30T14:56:18.250Z (4 months ago)
- Language: HCL
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google-managed SSL Certificate
Terraform module to create an SSL certificate using Google Certificate Manager.
This module performs automatic validation using DNS management.
As such, the certificate must be issued in the same GCP project where the DNS Zone is managed.
## Example
```terraform
resource "google_dns_managed_zone" "acme-com" {
name = "acme-com"
dns_name = "acme.com"
}
module "cert" {
source = "nullstone-modules/sslcert/gcp"
enabled = true
name = "example-acme-com"
scope = ""
// Produces a certificate with one subdomain `example.acme.com`
// This certificate is authorized by adding DNS records to the acme.com DNS Zone
subdomains = {
"example.acme.com" = google_dns_managed_zone.acme-com.name
}
}
```