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 mvto 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_checkandstickinesssettings should be implicit for each target group.
-
Renamed logging variables
logging_enabled,log_bucket_name,log_location_prefixinto a mapaccess_logswith keysenabled,bucket,prefix. -
Renamed variables:
load_balancer_name=>nameload_balancer_is_internal=>internalcreate_alb=>create_lb
-
Renamed outputs:
load_balancer_id=>this_lb_iddns_name=>this_lb_dns_name