Skip to content

Commit

Permalink
length(var.tls_cert_arn)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkotof authored Jan 13, 2022
1 parent e268410 commit 5bfdf6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module "alb" {
target_group_index = 0
}, ]

https_listeners = var.tls_cert_arn ? concat(
https_listeners = length(var.tls_cert_arn) >= 1 ? concat(
[
{
port = 443
Expand Down

0 comments on commit 5bfdf6e

Please sign in to comment.