If you have a question regarding this upgrade process, please check code in examples
directory:
If you found a bug, please open an issue in this repository.
-
Removed resources:
- aws_lb.application_no_logs
- aws_lb_target_group.main_no_logs
- aws_lb_listener.frontend_http_tcp_no_logs
- aws_lb_listener.frontend_https_no_logs
- aws_lb_listener_certificate.https_listener_no_logs
If you've been using ALB without access logs enabled then you need to run
terraform state mv
to rename resources to new names:- aws_lb.this
- aws_lb_target_group.main
- aws_lb_listener.frontend_http_tcp
- aws_lb_listener.frontend_https
- aws_lb_listener_certificate.https_listener
For example, this command will rename ALB resource:
terraform state mv aws_lb.application_no_logs aws_lb.this
-
Removed variable
target_groups_count
,http_tcp_listeners_count
,extra_ssl_certs_count
,http_tcp_listeners_count
. -
Removed variable
target_groups_defaults
. Instead, allhealth_check
andstickiness
settings should be implicit for each target group.
-
Renamed logging variables
logging_enabled
,log_bucket_name
,log_location_prefix
into a mapaccess_logs
with keysenabled
,bucket
,prefix
. -
Renamed variables:
load_balancer_name
=>name
load_balancer_is_internal
=>internal
create_alb
=>create_lb
-
Renamed outputs:
load_balancer_id
=>this_lb_id
dns_name
=>this_lb_dns_name