Add contabo provider

This commit is contained in:
Tobias Reisinger 2024-09-30 20:00:24 +02:00
parent ed555418e2
commit 048ea26034
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
10 changed files with 73 additions and 15 deletions

View file

@ -12,10 +12,6 @@ data "template_file" "cloud_init" {
}
}
locals {
hetzner_hosts = {for key, val in var.hosts : key => val if val.provider == "hetzner"}
}
resource "hcloud_primary_ip" "node_ipv4_addresses" {
for_each = local.hetzner_hosts
name = "primary_ipv4_${each.value.hostname}"