I see the tags argument is deprecated… But if I’m supposed to use the new argument “tag” it is unclear how I would replace this…
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ Warning: Argument is deprecated
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ with module.vault.module.consul_cluster.aws_autoscaling_group.autoscaling_group,
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ on modules/terraform-aws-vault/modules/terraform-aws-consul/modules/consul-cluster/main.tf line 47, in resource "aws_autoscaling_group" "autoscaling_group":
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 47: tags = concat(
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 48: [
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 49: {
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 50: "key" = "Name"
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 51: "value" = var.cluster_name
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 52: "propagate_at_launch" = true
[2022-07-17 04:23:31.234] [d-23KRLEVPH][stdout]│ 53: },
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 54: {
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 55: "key" = var.cluster_tag_key
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 56: "value" = var.cluster_tag_value
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 57: "propagate_at_launch" = true
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 58: },
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 59: ],
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 60: var.tags,
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ 61: )
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│
[2022-07-17 04:23:31.235] [d-23KRLEVPH][stdout]│ Use tag instead
Any pointers on how to do that?