Skip to content

Commit

Permalink
Delete default Mailu SG rules
Browse files Browse the repository at this point in the history
This is theoretically a noop because these default rules are already
managed by Terraform, but the OpenStack provider insists on a destroy/
recreate cycle in order to introduce it.
  • Loading branch information
strugee committed Mar 13, 2024
1 parent 29f0419 commit 74ebe90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simple_vm/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
resource "openstack_networking_secgroup_v2" "main-sg" {
name = var.name
name = var.name
delete_default_rules = true
}

resource "openstack_networking_secgroup_rule_v2" "ipv4-egress" {
Expand Down

0 comments on commit 74ebe90

Please sign in to comment.