Skip to content

Commit 3818aeb

Browse files
authored
Issue #LR-676 chore: Updated the cloud_storage_endpoint regex (#92)
1 parent 4c4587d commit 3818aeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ansible/roles/lern-data-products-deploy/templates/common.conf.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ reports.storage.key.config="{{ dp_reports_storage_key_config }}"
1616
reports.storage.secret.config="{{ dp_reports_storage_secret_config }}"
1717
cloud_storage_type="{{cloud_service_provider}}"
1818

19-
cloud_storage_endpoint="{{ cloud_private_storage_endpoint | regex_replace('^[a-z]+://(.*)$', '\1') }}"
19+
# cloud_storage_endpoint="{{ cloud_private_storage_endpoint | regex_replace('^[a-z]+://(.*)$', '\1') }}"
20+
cloud_storage_endpoint="{{ cloud_private_storage_endpoint.split('/')[2]|lower }}"
2021
cloud_storage_endpoint_with_protocol="{{ cloud_private_storage_endpoint }}"
2122

2223
# Joblog Kafka appender config for cluster execution

0 commit comments

Comments
 (0)