From 78b69574b3f435848bdcb1c74f14e9f403b51ad1 Mon Sep 17 00:00:00 2001 From: Daniel Roberts Date: Wed, 13 Feb 2019 18:27:10 -0600 Subject: [PATCH] Work around terraform volume_tags issue on tagging data volumes https://github.com/terraform-providers/terraform-provider-aws/issues/729 --- src/commcare_cloud/terraform/modules/server/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commcare_cloud/terraform/modules/server/main.tf b/src/commcare_cloud/terraform/modules/server/main.tf index dd7c09c596..b29451c4b1 100644 --- a/src/commcare_cloud/terraform/modules/server/main.tf +++ b/src/commcare_cloud/terraform/modules/server/main.tf @@ -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}"