Skip to content

Commit

Permalink
Work around terraform volume_tags issue on tagging data volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyroberts committed Feb 14, 2019
1 parent fd7757f commit 78b6957
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commcare_cloud/terraform/modules/server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ resource aws_instance "server" {
delete_on_termination = true
}
lifecycle {
ignore_changes = ["user_data", "key_name", "root_block_device.0.delete_on_termination", "ebs_optimized", "ami"]
ignore_changes = ["user_data", "key_name", "root_block_device.0.delete_on_termination",
"ebs_optimized", "ami", "volume_tags"]
}
tags {
Name = "${var.server_name}"
Expand Down

0 comments on commit 78b6957

Please sign in to comment.