Skip to content

Commit

Permalink
oops booleans are hard
Browse files Browse the repository at this point in the history
  • Loading branch information
Falpangaea committed Feb 26, 2020
1 parent 6a05d04 commit 0cf182a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ locals {
Password = var.transfer_server_enable_password_auth ? random_id.user_password_random_id[0].b64 : ""
Role = aws_iam_role.transfer_user_assume_role.arn
HomeDirectory = "/${var.s3_bucket_name}/${var.s3_bucket_folder}${var.s3_bucket_folder == "" ? "" : "/"}"
PublicKey = var.transfer_server_enable_password_auth ? "" : var.ssh_public_keys[0] # TODO add warning if more than one
PublicKey = var.transfer_server_enable_password_auth ? var.ssh_public_keys[0] : "" # TODO add warning if more than one
}
}

0 comments on commit 0cf182a

Please sign in to comment.