Releases: terraform-aws-modules/terraform-aws-alb
Releases · terraform-aws-modules/terraform-aws-alb
v9.4.0
v9.3.0
v9.2.0
v9.1.0
v9.0.0
9.0.0 (2023-10-27)
⚠ BREAKING CHANGES
- Refactor module to use maps instead of lists (#305)
Backwards incompatible changes
- target_groupspreviously were defined by an array of target group definitions that were created using the- countmeta-argument. This has been replaced with a map of target group definitions that are created using the- for_eachmeta-argument in order to provide better stability when adding/removing target group definitions.
- target_groupsno longer support multiple targets per target group. There are alternate methods to achieve similar functionality such as weighted target groups or using an autoscaling group as a target when targetting EC2 instances.
- The previous methods for creating listeners have been removed in favor of one argument, listeners, which take a map of listener definitions that are created using thefor_eachmeta-argument in order to provide better stability when adding/removing listener definitions. Previously thetarget_group_indexwas used to associate/reference a target group; that is now replaced withtarget_group_keywhich is the key of the target group definition in thetarget_groupsmap.
- security_group_ruleshas been replaced by- security_group_ingress_rulesand- security_group_egress_rulesto align with the new underlying resources.
- Minimum supported version of Terraform AWS provider updated to v5.13to support the latest features provided via the resources utilized.
- Minimum supported version of Terraform updated to v1.0
- The Nametag has been removed from resources
Added
- Security group attachment restrictions have been removed now that both ALB and NLB support security groups
- Support for creating Route53 records for ALB/NLB DNS names via the route53_recordsvariable
Modified
- enable_cross_zone_load_balancingnow defaults to- true
- drop_invalid_header_fieldsnow defaults to- true
- enable_deletion_protectionnow defaults to- true
- associate_web_aclhas been added to identify when a WAFv2 Web ACL should be associated with the ALB; previously this was accomplished by checking for the presence of a value passed to- web_acl_arnwhich is known to cause issues when the value does not exist and is computed.
See UPGRADE-9.0.md for further details