diff --git a/bbl-up/task b/bbl-up/task index d86366b9..3d34fce1 100755 --- a/bbl-up/task +++ b/bbl-up/task @@ -85,11 +85,12 @@ function main() { if [ "${SKIP_LB_CREATION}" == "false" ]; then local bbl_cert_chain_flag + local bbl_lb_type="${BBL_LB_TYPE}" bbl_cert_chain_flag="" local bbl_cert_path write_bbl_certs - lb_flags="--lb-type=cf --lb-cert=${bbl_cert_path} ${bbl_cert_chain_flag} --lb-key=${bbl_key_path} --lb-domain=${LB_DOMAIN}" + lb_flags="--lb-type=${bb_lb_type} --lb-cert=${bbl_cert_path} ${bbl_cert_chain_flag} --lb-key=${bbl_key_path} --lb-domain=${LB_DOMAIN}" fi set -o pipefail diff --git a/bbl-up/task.yml b/bbl-up/task.yml index 44030199..da5959cc 100644 --- a/bbl-up/task.yml +++ b/bbl-up/task.yml @@ -114,6 +114,12 @@ params: # - Can be either the key content or a path to the key # - If a path is provided, path is relative to the BBL_STATE_DIR + BBL_LB_TYPE: cf + # - Defines the type of load balancer to be configured. + # - The default type is 'cf', suitable for most environments. + # - You can specify a different type based on your application's requirements. + # - For the new IPv6 validation, the 'nlb' type is necessary. + LB_DOMAIN: # - Required if `SKIP_LB_CREATION` is false # - The domain which bbl will register