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xvGGwQ6mpl7qmc7JxmTOiJbO1yz6eokU27S0NHfpdiE3TGG93i2r/LwAnHuhT/4weGO+vcXwKRTFGFFjvMo0XgjL2JnP01nk6dpDFwkkt5I26J4DkuNMkLefgDiGOoxDmG5EgPu0YwAm7Vk2/kX0W6rLe16lHGDkB0/atQ/IB9uch31GQrLP9etmdwIDAQAB"
  }
}

module "inskip-gmail" {
  enable             = false
  source             = "./gmail_dns"
  cloudflare_api_key = var.cloudflare_api_key
  zone_id            = local.zone_ids.inskip
  zone_name          = local.zones.inskip
  dkim               = local.dkims.inskip
}
module "dork-gmail" {
  enable             = false
  source             = "./gmail_dns"
  cloudflare_api_key = var.cloudflare_api_key
  zone_id            = local.zone_ids.dork
  zone_name          = local.zones.dork
  dkim               = local.dkims.dork
}
module "kittywitch-gmail" {
  enable             = false
  source             = "./gmail_dns"
  cloudflare_api_key = var.cloudflare_api_key
  zone_id            = local.zone_ids.kittywitch
  zone_name          = local.zones.kittywitch
  dkim               = local.dkims.kittywitch
}
