Skip to content

Commit 13bdb54

Browse files
committed
https://github.com/cloudposse/terraform-aws-ec2-instance/pull/203
# Conflicts: # main.tf
1 parent c4be480 commit 13bdb54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ resource "aws_instance" "default" {
168168
cpu_credits = var.burstable_mode
169169
}
170170

171+
lifecycle {
172+
ignore_changes = [
173+
associate_public_ip_address,
174+
]
175+
}
176+
171177
tags = module.this.tags
172178

173179
volume_tags = var.volume_tags_enabled ? module.this.tags : {}

0 commit comments

Comments
 (0)