diff --git a/scripts/generate_deploy.sh b/scripts/generate_deploy.sh index bb17a95..9ddaf34 100755 --- a/scripts/generate_deploy.sh +++ b/scripts/generate_deploy.sh @@ -91,7 +91,8 @@ aws_site_cdn_enabled=$(generate_var aws_site_cdn_enabled $AWS_SITE_CDN_ENABLED) aws_site_root_object=$(generate_var aws_site_root_object $AWS_SITE_ROOT_OBJECT) aws_r53_domain_name=$(generate_var aws_r53_domain_name $AWS_R53_DOMAIN_NAME) aws_r53_root_domain_deploy=$(generate_var aws_r53_root_domain_deploy $AWS_R53_ROOT_DOMAIN_DEPLOY) -aws_r53_enable_cert=$(generate_var aws_r53_enable_cert $AWS_R53_ENABLE_CERT) +#aws_r53_enable_cert=$(generate_var aws_r53_enable_cert $AWS_R53_ENABLE_CERT) +aws_r53_enable_cert=$(generate_var aws_r53_enable_cert $AWS_SITE_CDN_ENABLED) # Intentional. Only true if CDN is enabled. aws_r53_cert_arn=$(generate_var aws_r53_cert_arn $AWS_R53_CERT_ARN) aws_r53_create_root_cert=$(generate_var aws_r53_create_root_cert $AWS_R53_CREATE_ROOT_CERT) aws_r53_create_sub_cert=$(generate_var aws_r53_create_sub_cert $AWS_R53_CREATE_SUB_CERT)