Fix typo with kubesize.
This commit is contained in:
parent
d8cb4ffb06
commit
d07a308cdc
2
kube.tf
2
kube.tf
|
@ -2,7 +2,7 @@
|
||||||
resource "openstack_networking_port_v2" "kubeport" {
|
resource "openstack_networking_port_v2" "kubeport" {
|
||||||
name = "kube${count.index + 1}-matrix-test-sunet-se-port"
|
name = "kube${count.index + 1}-matrix-test-sunet-se-port"
|
||||||
# We create as many ports as there are instances created
|
# We create as many ports as there are instances created
|
||||||
count = ${kubesize} # size of cluster
|
count = var.kubesize # size of cluster
|
||||||
network_id = data.openstack_networking_network_v2.public.id
|
network_id = data.openstack_networking_network_v2.public.id
|
||||||
# A list of security group ID
|
# A list of security group ID
|
||||||
#security_group_ids = [resource.openstack_networking_secgroup_v2.sshaccess.id, data.openstack_networking_secgroup_v2.defaultsg.id, resource.openstack_networking_secgroup_v2.pgserver.id ]
|
#security_group_ids = [resource.openstack_networking_secgroup_v2.sshaccess.id, data.openstack_networking_secgroup_v2.defaultsg.id, resource.openstack_networking_secgroup_v2.pgserver.id ]
|
||||||
|
|
Loading…
Reference in a new issue