https://github.com/keithrozario/goog-tf-domain-entry
Terraform Module for DNS creation and TLS Certificate
https://github.com/keithrozario/goog-tf-domain-entry
Last synced: 29 days ago
JSON representation
Terraform Module for DNS creation and TLS Certificate
- Host: GitHub
- URL: https://github.com/keithrozario/goog-tf-domain-entry
- Owner: keithrozario
- Created: 2025-08-22T08:13:34.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-08-22T08:16:46.000Z (about 2 months ago)
- Last Synced: 2025-08-22T10:26:31.090Z (about 2 months ago)
- Language: HCL
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Terraform Domain Entry and TLS Cert module
This module is meant to simplfy the creation of a domain entry and TLS Certifcate especially if the DNS management is delegated to another google cloud project.
# Usage
```hcl
module "tf_domain_and_tls" {
source = "keithrozario/goog-tf-domain-entry"
sub_domain = "sub"
rrdatas = ["123.4.5.6"]
record_type = "A"
base_domain = "example.com"
dns_project_name = "project-123"
dns_zone_name = "zone-123"
regional_location = "us-central1"
}
```## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| sub_domain | The Subdomain of the FQDN to deploy | string | none | yes|
| rrdatas | The rrdata field to enter in the DNS entry. e.g. ["123.4.5.6","234.5.6.7"] | list(str) | none | yes
| record_type | The record type of the DNS entry. | string | "A" | no
| base_domain | The base domain of the FQDN to deploy | string | none | yes
| dns_project_name | The GCP Project ID that contains the DNS ZONE in Cloud DNS | string | none | yes
| dns_zone_name | The name of the DNS ZONE in Cloud DNS | string | none | yes## Outputs
| Name | Description | Type |
|------|-------------|------|
| certificate_map_id | The Certficate Map ID created for the certificate | string |
| ssl_certificates | The SSL Certificate Location beginning with `/certificatemanager.googleapis.com/`| string |