Skip to content

Terraform module to create an SSL certificate using Google Certificate Manager.

License

Notifications You must be signed in to change notification settings

nullstone-modules/terraform-gcp-sslcert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

resource "google_dns_managed_zone" "acme-com" {
  name     = "acme-com"
  dns_name = "acme.com"
}

module "cert" {
  source = "nullstone-modules/sslcert/gcp"

  enabled   = true
  cert_name = "example-acme-com"

  // 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" : google_dns_managed_zone.acme-com.name
  }
}

About

Terraform module to create an SSL certificate using Google Certificate Manager.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages