homelab/terraform/dns/main.tf
2023-11-04 21:33:51 +01:00

26 lines
384 B
HCL

terraform {
backend "consul" {
path = "terraform/dns"
}
required_providers {
powerdns = {
source = "pan-net/powerdns"
}
hetznerdns = {
source="timohirt/hetznerdns"
}
}
}
provider vault {
}
provider "powerdns" {
api_key = var.powerDnsApiKey
server_url = var.powerDnsURL
}
provider "hetznerdns" {
apitoken = var.hetznerApiKey
}