homelab/infra/providers.tf

23 lines
352 B
Terraform
Raw Normal View History

2022-06-19 14:04:32 +00:00
terraform {
2023-09-17 16:28:12 +00:00
2022-06-19 14:04:32 +00:00
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
}
2023-09-17 16:28:12 +00:00
hetznerdns = {
source="timohirt/hetznerdns"
}
2022-06-19 14:04:32 +00:00
}
2022-07-26 19:04:32 +00:00
backend "consul" {
path = "terraform/infra"
}
required_version = ">= 0.13"
2022-06-19 14:04:32 +00:00
}
provider "hcloud" {
token = var.hcloud_token
}
2023-09-17 16:28:12 +00:00
provider "hetznerdns" {
apitoken = var.hdns_token
}