hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
399 stars 482 forks source link

Tags depreciation warning message in resource aws_autoscaling_group #247

Open ymitsos opened 2 years ago

ymitsos commented 2 years ago

Describe the bug Seems the latest AWS provider deprecates usage of "tags" in favour of "tag" in Resource: aws_autoscaling_group. It is also mentioned in the official documentation (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#tags).

To Reproduce Using the consul-cluster module with TF >= 0.12 returns, in a deterministic way, a warning message about the depreciation of the "tags" attribute.

Expected behavior The "tag" attribute shall be used instead.

idnorton commented 2 years ago

There's a PR waiting which fixes this - https://github.com/hashicorp/terraform-aws-consul/pull/248