This is an unofficial Terraform module which creates Cloudflare DNS records to setup a domain with FastMail.
Since this is not an official provider and does not have guarantees about backwards compatibility, it is recommended that you fork this repository or copy the code into your own repository after reviewing the code.
In your Terraform file:
module "example_fastmail-dns" {
source = "bluk/fastmail-dns/cloudflare"
version = "0.7.0"
zone_id = "1abcd"
domain_name = "example.com"
create_root_domain_txt = false
ttl = 3600
providers = {
cloudflare = "cloudflare"
}
}