Skip to content

Commit 3e3fccd

Browse files
authored
Merge pull request #22 from rhythmictech/ENG-3526
change coalese to try for repo_port
2 parents 3c3e2b9 + 03e3d90 commit 3e3fccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ locals {
1010
playbook_file = var.playbook_file
1111
playbook_repo = var.playbook_repo
1212
repo_host = try(local.repo_parts.host, null)
13-
repo_port = coalesce(local.repo_parts.port, 22)
13+
repo_port = try(local.repo_parts.port, 22)
1414
ssh_key_name = try(data.aws_secretsmanager_secret.ssh_key[0].name, null)
1515
})
1616

0 commit comments

Comments
 (0)