Skip to content

Commit

Permalink
Merge pull request #9 from opzkit/ignore_tag_changes
Browse files Browse the repository at this point in the history
chore: ignore changes to tags
  • Loading branch information
argoyle authored Oct 17, 2022
2 parents 7d35874 + 57e9424 commit 5e1e41a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ resource "aws_subnet" "private" {
"SubnetType" = "Private"
"kubernetes.io/role/internal-elb" = "1"
}, var.additional_private_subnet_tags)

lifecycle {
ignore_changes = [
tags,
]
}
}

resource "aws_subnet" "public" {
Expand All @@ -51,6 +57,12 @@ resource "aws_subnet" "public" {
"SubnetType" = "Utility"
"kubernetes.io/role/elb" = "1"
}, var.additional_public_subnet_tags)

lifecycle {
ignore_changes = [
tags,
]
}
}

resource "aws_internet_gateway" "igw" {
Expand Down

0 comments on commit 5e1e41a

Please sign in to comment.