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

23 lines
352 B
HCL

terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
}
hetznerdns = {
source="timohirt/hetznerdns"
}
}
backend "consul" {
path = "terraform/infra"
}
required_version = ">= 0.13"
}
provider "hcloud" {
token = var.hcloud_token
}
provider "hetznerdns" {
apitoken = var.hdns_token
}