Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Warnings on outputs #127

Open
iainthegray opened this issue Mar 12, 2019 · 1 comment
Open

Warnings on outputs #127

iainthegray opened this issue Mar 12, 2019 · 1 comment

Comments

@iainthegray
Copy link
Contributor

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

@brikis98
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants