Use a variable for network_region
..instead of hardcoding it to `eu-central`
This commit is contained in:
parent
efcbbd53dc
commit
c72e212f2b
2
main.tf
2
main.tf
@ -16,7 +16,7 @@ resource "hcloud_network" "k3s" {
|
|||||||
resource "hcloud_network_subnet" "k3s" {
|
resource "hcloud_network_subnet" "k3s" {
|
||||||
network_id = hcloud_network.k3s.id
|
network_id = hcloud_network.k3s.id
|
||||||
type = "cloud"
|
type = "cloud"
|
||||||
network_zone = "eu-central"
|
network_zone = var.network_region
|
||||||
ip_range = "10.0.0.0/16"
|
ip_range = "10.0.0.0/16"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user