From 58a1205727701fde5117f7ae2f8da2edcaec30b4 Mon Sep 17 00:00:00 2001 From: David Caro Date: Wed, 6 Dec 2023 17:50:16 +0100 Subject: [PATCH] vm: add the VM to the default group also This allows us to test that prometheus can reach it for example. Signed-off-by: David Caro --- vm.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm.tf b/vm.tf index 4d838a1..f196a4e 100644 --- a/vm.tf +++ b/vm.tf @@ -7,7 +7,7 @@ resource "openstack_compute_instance_v2" "vm" { name = "tf-infra-test" image_id = data.openstack_images_image_v2.debian.id flavor_id = var.flavor_id[var.datacenter] # update to lookup? - security_groups = ["${openstack_compute_secgroup_v2.secgroup.name}"] + security_groups = ["${openstack_compute_secgroup_v2.secgroup.name}", "default"] network { name = var.fixed_network[var.datacenter]