Skip to content

Commit

Permalink
ignoring userdata changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasr-moj committed Dec 3, 2024
1 parent d1f49e5 commit 3493f6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/environments/apex/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ resource "aws_instance" "apex_db_instance" {
user_data_base64 = base64encode(local.database-instance-userdata)
user_data_replace_on_change = false

lifecycle {
ignore_changes = [user_data_base64]
}

root_block_device {
delete_on_termination = false
Expand Down

0 comments on commit 3493f6a

Please sign in to comment.