cloudposse/terraform-aws-components

`github-runners` Deprecated `tags` Argument and Attribute

johncblandii opened this issue · 1 comments

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

│ Warning: Argument is deprecated
│ 
│   with module.autoscale_group.aws_autoscaling_group.default[0],
│   on .terraform/modules/autoscale_group/main.tf line 244, in resource "aws_autoscaling_group" "default":
│  244:   tags = flatten([
│  245:     for key in keys(module.this.tags) :
│  246:     {
│  247:       key                 = key
│  248:       value               = module.this.tags[key]
│  249:       propagate_at_launch = true
│  250:     }
│  251:   ])
│ 
│ Use tag instead
╵
╷
│ Warning: Deprecated attribute
│ 
│   on .terraform/modules/autoscale_group/outputs.tf line 23, in output "autoscaling_group_tags":
│   23:   value       = module.this.enabled ? aws_autoscaling_group.default[0].tags : []
│ 
│ The attribute "tags" is deprecated. Refer to the provider documentation for details.
│ 
│ (and one more similar warning elsewhere)
╵

Expected Behavior

No deprecation warnings.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Configure a runner
  2. Run a plan

Screenshots

If applicable, add screenshots or logs to help explain your problem.

N/A

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: Geodesic (Debian) v1.6.0

Additional Context

N/A

This is addressed in the latest.