This is an unofficial Terraform module which creates Google Cloud DNS records to setup a domain with FastMail.
In your Terraform file:
resource "google_dns_managed_zone" "example" {
name = "example"
dns_name = "example.com."
description = "Example domain"
}
module "example_fastmail" {
source = "github.com/bluk/terraform-google-fastmail-dns"
domain_name = "example.com"
managed_zone_name = "${google_dns_managed_zone.example.name}"
}