|
@@ -48,8 +48,8 @@ resource "aws_instance" "phantom-server-instance" {
|
|
|
# We need to ignore ebs_block_device changes, because if the AMI changes, so does the snapshot_id.
|
|
|
# If they add a feature to block more specific changes (eg `ebs_block_devices[*].snapshot_id`), then
|
|
|
# that could be removed.
|
|
|
- #lifecycle { ignore_changes = [ ami, key_name, user_data, ebs_block_device ] }
|
|
|
- lifecycle { ignore_changes = [ ami, key_name, user_data ] }
|
|
|
+ lifecycle { ignore_changes = [ ami, key_name, user_data, ebs_block_device ] }
|
|
|
+ #lifecycle { ignore_changes = [ ami, key_name, user_data ] }
|
|
|
|
|
|
# These device definitions are optional, but added for clarity.
|
|
|
root_block_device {
|