|
@@ -7,7 +7,9 @@ resource "aws_ebs_volume" "tqbackup" {
|
|
|
encrypted = true
|
|
|
kms_key_id = data.aws_kms_key.ebs-key.arn
|
|
|
|
|
|
- tags = merge(local.standard_tags, var.tags, { Name = "${local.server_name_stem}-${count.index}", Path = "/opt/tqbackup", Device = "/dev/xvdf" })
|
|
|
+ # Can't have extra tags here, or terraform will flipflop between these and the instance's volume_tags
|
|
|
+ #tags = merge(local.standard_tags, var.tags, { Name = "${local.server_name_stem}-${count.index}", Path = "/opt/tqbackup", Device = "/dev/xvdf" })
|
|
|
+ tags = merge(local.standard_tags, var.tags, { Name = "${local.server_name_stem}-${count.index}" })
|
|
|
}
|
|
|
|
|
|
resource "aws_volume_attachment" "tqbackup" {
|