Releases: terraform-aws-modules/terraform-aws-alb
Releases · terraform-aws-modules/terraform-aws-alb
v9.5.0
v9.4.1
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_groups
previously were defined by an array of target group definitions that were created using thecount
meta-argument. This has been replaced with a map of target group definitions that are created using thefor_each
meta-argument in order to provide better stability when adding/removing target group definitions.target_groups
no 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_each
meta-argument in order to provide better stability when adding/removing listener definitions. Previously thetarget_group_index
was used to associate/reference a target group; that is now replaced withtarget_group_key
which is the key of the target group definition in thetarget_groups
map. security_group_rules
has been replaced bysecurity_group_ingress_rules
andsecurity_group_egress_rules
to align with the new underlying resources.- Minimum supported version of Terraform AWS provider updated to
v5.13
to support the latest features provided via the resources utilized. - Minimum supported version of Terraform updated to
v1.0
- The
Name
tag 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_records
variable
Modified
enable_cross_zone_load_balancing
now defaults totrue
drop_invalid_header_fields
now defaults totrue
enable_deletion_protection
now defaults totrue
associate_web_acl
has 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 toweb_acl_arn
which is known to cause issues when the value does not exist and is computed.
See UPGRADE-9.0.md for further details