hashicorp/terraform-aws-consul

Warnings on outputs

Opened this issue · 1 comments

When running this with TF 0.11.x these warnings are shown:

Warning: output "asg_name": must use splat syntax to access aws_autoscaling_group.autoscaling_group attribute "name", because it has "count" set; use aws_autoscaling_group.autoscaling_group.*.name to obtain a list of the attributes across all instances

Warning: output "cluster_size": must use splat syntax to access aws_autoscaling_group.autoscaling_group attribute "desired_capacity", because it has "count" set; use aws_autoscaling_group.autoscaling_group.*.desired_capacity to obtain a list of the attributes across all instances

Warning: output "launch_config_name": must use splat syntax to access aws_launch_configuration.launch_configuration attribute "name", because it has "count" set; use aws_launch_configuration.launch_configuration.*.name to obtain a list of the attributes across all instances

Hm, I could've sworn we fixed these when we did our Terraform 0.11 upgrade. 😕

Fairly easy tweak if anyone has time for a PR.