From c72e212f2b84ccedb9ee953e42ea4917d82a09af Mon Sep 17 00:00:00 2001 From: Tim Heckel Date: Sat, 29 Jan 2022 13:21:30 -0600 Subject: [PATCH] Use a variable for `network_region` ..instead of hardcoding it to `eu-central` --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 4d12561..ed3591e 100644 --- a/main.tf +++ b/main.tf @@ -16,7 +16,7 @@ resource "hcloud_network" "k3s" { resource "hcloud_network_subnet" "k3s" { network_id = hcloud_network.k3s.id type = "cloud" - network_zone = "eu-central" + network_zone = var.network_region ip_range = "10.0.0.0/16" }