gmail

gnarea/gmail/cloudflare

Terraform Module HCL CLOUDFLARE

Terraform module to manage DNS records for Gmail on CloudFlare

Install
module "gmail" {
source = "gnarea/gmail/cloudflare"
version = "1.0.1"
}
plain text: /constructs/tfmod-gnarea-gmail-cloudflare/install.txt
⭐ Source on GitHub 📦 Registry page
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)
NameTypeDescriptionDefault
domainanyThe APEX domain (e.g., example.com) required
sub_domainanyThe sub-domain for the MX records, if applicable"@"
ttlanyTTL for the DNS records3600
Resources (1)
cloudflare_record
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud CLOUDFLARE
★ Stars0
Forks2
Total downloads1.0k
Inputs3
Resources1
LicenseMIT
Namespacegnarea
Updated