12 lines
571 B
HCL
12 lines
571 B
HCL
|
|
resource "openstack_networking_port_v2" "kubeport" {
|
|
name = "kube${count.index + 1}-matrix-test-sunet-se-port"
|
|
# We create as many ports as there are instances created
|
|
count = var.kubesize # size of cluster
|
|
network_id = data.openstack_networking_network_v2.public.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 ]
|
|
admin_state_up = "true"
|
|
}
|
|
|