You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On v4.0.0 of the AWS Provider, tags was deprecated in favor of the tag configuration block in aws_autoscaling_group.
resource/aws_autoscaling_group: The tags argument has been deprecated. All configurations using tags should be updated to use the tag argument instead (hashicorp/terraform-provider-aws#22663)
This makes plans run against this version of the provider show this warning
╷
│ Warning: Argument is deprecated
│
│ on .terraform/modules/self-managed-node-group/main.tf line 392, in resource "aws_autoscaling_group" "this":
│ 392: tags = concat(
│ 393: [
│ 394: {
│ 395: key = "Name"
│ 396: value = var.name
│ 397: propagate_at_launch = true
│ 398: },
│ 399: {
│ 400: key = "kubernetes.io/cluster/${var.cluster_name}"
│ 401: value = "owned"
│ 402: propagate_at_launch = true
│ 403: },
│ 404: {
│ 405: key = "k8s.io/cluster/${var.cluster_name}"
│ 406: value = "owned"
│ 407: propagate_at_launch = true
│ 408: },
│ 409: ],
│ 410: var.propagate_tags,
│ 411: [for k, v in var.tags :
│ 412: {
│ 413: key = k
│ 414: value = v
│ 415: propagate_at_launch = true
│ 416: }
│ 417: ]
│ 418: )
│
│ Use tag instead
╵
Describe the solution you've considered
Convert this into a dynamic block and bumping the required provider version.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
On v4.0.0 of the AWS Provider,
tags
was deprecated in favor of thetag
configuration block inaws_autoscaling_group
.This makes plans run against this version of the provider show this warning
Describe the solution you've considered
Convert this into a dynamic block and bumping the required provider version.
terraform-aws-eks/modules/self-managed-node-group/main.tf
Lines 392 to 418 in 9c9ac81
The text was updated successfully, but these errors were encountered: