Skip to content

Commit

Permalink
vm: add the VM to the default group also
Browse files Browse the repository at this point in the history
This allows us to test that prometheus can reach it for example.

Signed-off-by: David Caro <[email protected]>
  • Loading branch information
david-caro committed Dec 6, 2023
1 parent b9a14da commit 58a1205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 58a1205

Please sign in to comment.