gmail
gnarea/gmail/cloudflare
Terraform module to manage DNS records for Gmail on CloudFlare
Install
README
terraform-cloudflare-gmail _terraform-cloudflare-gmail_ manages MX and SPF records for Gmail on your CloudFlare-hosted domain. For example, the following configuration will generate the appropriate DNS records for the domain example.com: ``hcl module "email" { source = "gnarea/gmail/cloudflare" domain = "example.com" } ` Migrating from terraform-gmail Migrating from terraform-gmail is easy: 1. Change your module's source to "gnarea/gmail/cloudflare", as in the example above. 1. Rename the resources for the MX records (assuming you named your module email): ` terraform state mv module.email.cloudflare_record.main[0] module.email.cloudflare_record.mx[0] terraform state mv module.email.cloudflare_record.main[1] module.email.cloudflare_record.mx[1] terraform state mv module.email.cloudflare_re
Inputs (3)
| Name | Type | Description | Default |
|---|---|---|---|
| domain | any | The APEX domain (e.g., example.com) | required |
| sub_domain | any | The sub-domain for the MX records, if applicable | "@" |
| ttl | any | TTL for the DNS records | 3600 |
Resources (1)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,