aws_autoscaling_attachment: incorrect parameter name "alb_target_group_arn" #5407
Labels
breaking-change
Introduces a breaking change in current functionality; usually deferred to the next major release.
proposal
Proposes new design or functionality.
service/autoscaling
Issues and PRs that pertain to the autoscaling service.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
Milestone
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
When attaching an NLB target group to an autoscaling group, I expected to find a parameter named
lb_target_group_arn
.Actual Behavior
Parameter was named
alb_target_group_arn
:https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/resource_aws_autoscaling_attachment.go#L33
Additionally, docs refer to an ALB target group:
https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/autoscaling_attachment.html.markdown
This seems to suggest that only an ALB target group can be attached to an autoscaling group. However it's possible to attach NLB target groups as well.
The text was updated successfully, but these errors were encountered: