Skip to content

v2.2.2

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 21 Jan 03:22
9bfceac

🚀 Enhancements

Fixes #134 - Does not create http_forward when aws_lb_target_group.default is disabled @spazm (#149) ## What

Fixes #134 - Does not create http_forward when aws_lb_target_group.default is disabled

  • disables aws_lb_listener.http_forward when default_target_group is not enabled
  • target_group is required when type is 'redirect'

Why

See #134. Fixes this Validation error when default_target_group_enabled == 0 :

module.alb.aws_lb_listener.http_forward[0]: Creating...
╷
│ Error: creating ELBv2 Listener
(arn:aws:elasticloadbalancing:...:...:loadbalancer/...):
ValidationError: A target group ARN must be specified
│       status code: 400, request id:
7cf9d727-fc77-4d32-a160-deadbeefcafe
│
│   with module.alb.aws_lb_listener.http_forward[0],
│   on .terraform/modules/alb/main.tf line 150, in resource
"aws_lb_listener" "http_forward":
│  150: resource "aws_lb_listener" "http_forward" {

references

closes #134

🐛 Bug Fixes

Fixes #134 - Does not create http_forward when aws_lb_target_group.default is disabled @spazm (#149) ## What

Fixes #134 - Does not create http_forward when aws_lb_target_group.default is disabled

  • disables aws_lb_listener.http_forward when default_target_group is not enabled
  • target_group is required when type is 'redirect'

Why

See #134. Fixes this Validation error when default_target_group_enabled == 0 :

module.alb.aws_lb_listener.http_forward[0]: Creating...
╷
│ Error: creating ELBv2 Listener
(arn:aws:elasticloadbalancing:...:...:loadbalancer/...):
ValidationError: A target group ARN must be specified
│       status code: 400, request id:
7cf9d727-fc77-4d32-a160-deadbeefcafe
│
│   with module.alb.aws_lb_listener.http_forward[0],
│   on .terraform/modules/alb/main.tf line 150, in resource
"aws_lb_listener" "http_forward":
│  150: resource "aws_lb_listener" "http_forward" {

references

closes #134