diff --git a/main.tf b/main.tf index c67cabc8..f6bff752 100644 --- a/main.tf +++ b/main.tf @@ -103,4 +103,8 @@ resource "aws_instance" "this" { credit_specification { cpu_credits = local.is_t_instance_type ? var.cpu_credits : null } + + lifecycle { + ignore_changes = [user_data] + } }