Skip to content

Commit

Permalink
chore(firewall): ignore name change (forces replacement) for network …
Browse files Browse the repository at this point in the history
…firewall
  • Loading branch information
christophe-rannou committed Jan 15, 2024
1 parent d230259 commit 0e5a2b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions firewall.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ resource "aws_route" "private_firewall" {

resource "aws_networkfirewall_firewall" "this" {
count = local.create_firewall ? 1 : 0
lifecycle {
ignore_changes = [
name,
]
}

description = "Firewall for ${var.name}"

Expand Down

0 comments on commit 0e5a2b7

Please sign in to comment.