mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -06:00
ITPLT-3356 add OS user and pass if provided and exclude region if OS pass provided
This commit is contained in:
@@ -59,11 +59,12 @@
|
||||
{% endif %}
|
||||
{# config specific to opensearch #}
|
||||
{% if atl_opensearch_endpoint is defined and atl_opensearch_endpoint != '' %}
|
||||
{% if atl_opensearch_password is defined and atl_opensearch_endpoint = '' %}
|
||||
<property name="opensearch.aws.region">{{ atl_hazelcast_network_aws_iam_region }}</property>
|
||||
{% else %}
|
||||
{# if password provided set password and user but NOT region #}
|
||||
{% if atl_opensearch_password is defined and atl_opensearch_password != '' %}
|
||||
<property name="opensearch.password">{{ atl_opensearch_password }}</property>
|
||||
<property name="opensearch.user">{{ atl_opensearch_user }}</property>
|
||||
{% else %}
|
||||
<property name="opensearch.aws.region">{{ atl_hazelcast_network_aws_iam_region }}</property>
|
||||
{% endif %}
|
||||
<property name="opensearch.http.url">https://{{ atl_opensearch_endpoint }}</property>
|
||||
<property name="search.platform">opensearch</property>
|
||||
|
||||
Reference in New Issue
Block a user