This is an automated email from the ASF dual-hosted git repository. omartushevskyi pushed a commit to branch DLAB-1158 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1158 by this push: new 26d2eca fixed typo 26d2eca is described below commit 26d2eca9c8accceb97ffa9170c66fcaca13f73a9 Author: Oleh Martushevskyi <oleh_martushevs...@epam.com> AuthorDate: Tue Nov 5 14:28:57 2019 +0200 fixed typo --- .../terraform/aws/ssn-helm-charts/main/dlab-ui.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui.tf b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui.tf index a78d4a4..ab9a585 100644 --- a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui.tf +++ b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui.tf @@ -20,8 +20,8 @@ # ****************************************************************************** locals { - custom_cert_name = var.custom_certs_enabled == "True" ? split("/", var.custom_cert_path)[-1] : "" - custom_key_name = var.custom_certs_enabled == "True" ? split("/", var.custom_key_path)[-1] : "" + custom_cert_name = var.custom_certs_enabled == "True" ? reverse(split("/", var.custom_cert_path))[0] : "" + custom_key_name = var.custom_certs_enabled == "True" ? reverse(split("/", var.custom_key_path))[0] : "" custom_cert = var.custom_certs_enabled == "True" ? base64encode(file("/tmp/${local.custom_cert_name}")) : "" custom_key = var.custom_certs_enabled == "True" ? base64encode(file("/tmp/${local.custom_key_name}")) : "" } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org