Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_autoscaling_group doesn't permit load_balancers.* #206

Closed
ianatha opened this issue Aug 20, 2014 · 0 comments · Fixed by #207
Closed

aws_autoscaling_group doesn't permit load_balancers.* #206

ianatha opened this issue Aug 20, 2014 · 0 comments · Fixed by #207

Comments

@ianatha
Copy link

ianatha commented Aug 20, 2014

When the load_balancers arguments is used in an aws_autoscaling_group instance, one gets:

There are warnings and/or errors related to your configuration. Please
fix these before continuing.

Errors:

  * 'aws_autoscaling_group.ingress_nodes' error: Unknown configuration: load_balancers.#
  * 'aws_autoscaling_group.ingress_nodes' error: Unknown configuration: load_balancers.0

load_balancers is properly calculated in the diffing code for aws_autoscaling_group:

$ grep -R load_balancers builtin/providers/aws
builtin/providers/aws/resource_aws_autoscaling_group.go:    if _, ok := rs.Attributes["load_balancers.#"]; ok {
builtin/providers/aws/resource_aws_autoscaling_group.go:            rs.Attributes, "load_balancers").([]interface{}))
builtin/providers/aws/resource_aws_autoscaling_group.go:            "load_balancers":            diff.AttrTypeCreate,
builtin/providers/aws/resource_aws_autoscaling_group.go:        toFlatten["load_balancers"] = flattenLoadBalancers(g.LoadBalancerNames)
builtin/providers/aws/resource_aws_autoscaling_group.go:            "load_balancers.*",
@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant