Skip to content

Commit

Permalink
making sure user data change is not tracked so db instance is not rec…
Browse files Browse the repository at this point in the history
…reated
  • Loading branch information
mnasr-moj committed Dec 3, 2024
1 parent 985e2b4 commit fd078f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/apex/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "aws_instance" "apex_db_instance" {
iam_instance_profile = aws_iam_instance_profile.ec2_instance_profile.id
key_name = aws_key_pair.apex.key_name
user_data_base64 = base64encode(local.database-instance-userdata)
user_data_replace_on_change = true
user_data_replace_on_change = false


root_block_device {
Expand Down

0 comments on commit fd078f8

Please sign in to comment.