|
91 | 91 | - Creates a CDE endpoint (Load Balancer) in a publicly accessible subnet |
92 | 92 | type: bool |
93 | 93 | required: False |
| 94 | + enable_private_network: |
| 95 | + description: |
| 96 | + - Create a fully private CDE instance |
| 97 | + type: bool |
| 98 | + required: False |
94 | 99 | loadbalancer_ips: |
95 | 100 | description: |
96 | 101 | - List of CIDRs allowed to access the load balancer. |
@@ -346,6 +351,7 @@ def __init__(self, module): |
346 | 351 | self.maximum_spot_instances = self._get_param('maximum_spot_instances') |
347 | 352 | self.chart_value_overrides = self._get_param('chart_value_overrides') |
348 | 353 | self.enable_public_endpoint = self._get_param('enable_public_endpoint') |
| 354 | + self.enable_private_network = self._get_param('enable_private_network') |
349 | 355 | self.enable_workload_analytics = self._get_param('enable_workload_analytics') |
350 | 356 | self.initial_instances = self._get_param('initial_instances') |
351 | 357 | self.initial_spot_instances = self._get_param('initial_spot_instances') |
@@ -448,6 +454,7 @@ def _enable_service(self): |
448 | 454 | maximum_spot_instances=self.maximum_spot_instances, |
449 | 455 | chart_value_overrides=self.chart_value_overrides, |
450 | 456 | enable_public_endpoint=self.enable_public_endpoint, |
| 457 | + enable_private_network=self.enable_private_network, |
451 | 458 | loadbalancer_allowlist=self.loadbalancer_ips, |
452 | 459 | enable_workload_analytics=self.enable_workload_analytics, |
453 | 460 | initial_instances=self.initial_instances, |
@@ -502,6 +509,7 @@ def main(): |
502 | 509 | maximum_spot_instances=dict(required=False, type='int', default=0), |
503 | 510 | chart_value_overrides=dict(required=False, type='list', default=None), |
504 | 511 | enable_public_endpoint=dict(required=False, type='bool', default=True), |
| 512 | + enable_private_network=dict(required=False, type='bool', default=False), |
505 | 513 | loadbalancer_ips=dict(required=False, type='list', elements='str', default=None), |
506 | 514 | enable_workload_analytics=dict(required=False, type='bool', default=True), |
507 | 515 | initial_instances=dict(required=False, type='int', default=1), |
|
0 commit comments