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 thecountmeta-argument. This has been replaced with a map of target group definitions that are created using thefor_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 bysecurity_group_ingress_rulesandsecurity_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 totruedrop_invalid_header_fieldsnow defaults totrueenable_deletion_protectionnow defaults totrueassociate_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 toweb_acl_arnwhich is known to cause issues when the value does not exist and is computed.
See UPGRADE-9.0.md for further details