Fixed some cloud deployment issues:

- Added High Availability option
 - Server group renamed to pgAdmin server group
 - Removed the Private option from Networking otherwise, it would not be possible to connect the server from pgAdmin.
This commit is contained in:
Khushboo Vashi
2022-06-09 14:07:05 +05:30
committed by Akshay Joshi
parent 3bc373fff0
commit e1c5a06bf0
7 changed files with 78 additions and 72 deletions

View File

@@ -366,6 +366,8 @@ def deploy_on_biganimal(data):
_label = data['instance_details']['name']
_private_network = '1' if str(data['instance_details']['cloud_type']
) == 'private' else '0'
_high_availability = '1' if data['db_details']['high_availability']\
else '0'
_instance_size = data['instance_details']['instance_size'].split('||')[1]
args = [_cmd_script,
@@ -386,7 +388,9 @@ def deploy_on_biganimal(data):
'--instance-type',
str(_instance_size),
'--private-network',
_private_network
_private_network,
'--high-availability',
_high_availability
]
if 'biganimal_public_ip' in data['instance_details']: