Files
base-infra/versions.tf
Felix Nehrke 14da745fcc Update tofu-resources to their latest versions
The API of Hetzner has got some important changes recently which will
impact my configuration. So, this maintenance change is necessary for me
to address these changes and figure out all deprecations.

First and foremost a new DNS-API was introduced in November 2025 to bind
the DNS-settings closer to their cloud console. In favor of this new
DNS-system they will phase out the old API in the beginning of May 2026!

Secondly, some API-fields have changed, e.g. the "datacenter" field of
primary IPs is going to be removed in favor of the "location" field.
This change will finally take place at 1. of July 2026.

Beside of that I simply updated all providers to their latest versions.

Reference: https://docs.hetzner.com/networking/dns/faq/beta
Reference: https://docs.hetzner.cloud/changelog#2025-11
Reference: https://docs.hetzner.cloud/changelog#2025-12
2026-02-13 00:01:02 +01:00

47 lines
949 B
HCL

terraform {
backend "s3" {
bucket = "nemoinho-tfstate"
key = "base-infra/terraform.tfstate"
region = "eu-central-003"
endpoints = {
s3 = "https://s3.eu-central-003.backblazeb2.com"
}
skip_credentials_validation = true
skip_region_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
skip_s3_checksum = true
}
required_providers {
hetznerdns = {
source = "timohirt/hetznerdns"
version = "2.2.0"
}
hcloud = {
source = "hetznercloud/hcloud"
version = "1.60.0"
}
random = {
source = "hashicorp/random"
version = "3.8.1"
}
external = {
source = "hashicorp/external"
version = "2.3.5"
}
}
}
provider "hetznerdns" {
apitoken = var.hetzner_dns_apitoken
}
provider "hcloud" {
token = var.hetzner_cloud_apitoken
}
provider "random" {}
provider "external" {}