diff --git a/deployment/main.tf b/deployment/main.tf index 98bdb0d..7c73dbf 100644 --- a/deployment/main.tf +++ b/deployment/main.tf @@ -6,7 +6,7 @@ resource "openstack_compute_instance_v2" "dashboard" { network { uuid = var.net_id } - security_groups = ["default", "HTTP", "motley-cue"] + security_groups = ["HTTP", "motley-cue"] } resource "openstack_compute_secgroup_v2" "secgroup" { @@ -32,6 +32,13 @@ resource "openstack_compute_secgroup_v2" "motley" { name = "motley-cue" description = "Open access via ssh-oidc" + rule { + from_port = 22 + to_port = 22 + ip_protocol = "tcp" + cidr = "0.0.0.0/0" + } + rule { from_port = 8181 to_port = 8181