homelab/terraform/dns/main.tf

26 lines
384 B
Terraform
Raw Permalink Normal View History

2023-11-04 20:33:51 +00:00
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
}