|
|
@ -12,7 +12,7 @@ resource "openstack_networking_network_v2" "k8s" { |
|
|
|
resource "openstack_networking_subnet_v2" "k8s" { |
|
|
|
name = "${var.cluster_name}-internal-network" |
|
|
|
network_id = "${openstack_networking_network_v2.k8s.id}" |
|
|
|
cidr = "10.0.0.0/24" |
|
|
|
cidr = "${var.subnet_cidr}" |
|
|
|
ip_version = 4 |
|
|
|
dns_nameservers = "${var.dns_nameservers}" |
|
|
|
} |
|
|
|