Skip to content

Commit 5a53083

Browse files
authored
Disable multiaz LIGHT_DUTY datalake on AWS (#116)
Signed-off-by: Jim Enright <[email protected]>
1 parent 553b2f4 commit 5a53083

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/terraform-cdp-deploy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ No resources.
136136
| <a name="input_gcp_raz_service_account_email"></a> [gcp\_raz\_service\_account\_email](#input\_gcp\_raz\_service\_account\_email) | Email id of the service account for Ranger Authorization Service (RAZ). Only applicable for CDP deployment on GCP. | `string` | `null` | no |
137137
| <a name="input_gcp_xaccount_service_account_private_key"></a> [gcp\_xaccount\_service\_account\_private\_key](#input\_gcp\_xaccount\_service\_account\_private\_key) | Base64 encoded private key of the GCP Cross Account Service Account Key. Required for CDP deployment on GCP. | `string` | `null` | no |
138138
| <a name="input_keypair_name"></a> [keypair\_name](#input\_keypair\_name) | SSH Keypair name in Cloud Service Provider. For CDP deployment on AWS, either 'keypair\_name' or 'public\_key\_text' needs to be set. | `string` | `null` | no |
139-
| <a name="input_multiaz"></a> [multiaz](#input\_multiaz) | Flag to specify that the FreeIPA and DataLake instances will be deployed across multi-availability zones. | `bool` | `true` | no |
139+
| <a name="input_multiaz"></a> [multiaz](#input\_multiaz) | Flag to specify that the FreeIPA and DataLake instances will be deployed across multi-availability zones. Note that with LIGHT\_DUTY datalake multiaz datalake is disabled. | `bool` | `true` | no |
140140
| <a name="input_proxy_config_name"></a> [proxy\_config\_name](#input\_proxy\_config\_name) | Name of the proxy config to use for the environment. | `string` | `null` | no |
141141
| <a name="input_public_key_text"></a> [public\_key\_text](#input\_public\_key\_text) | SSH Public key string for the nodes of the CDP environment. Required for CDP deployment on Azure. For CDP deployment on AWS, either 'keypair\_name' or 'public\_key\_text' needs to be set. | `string` | `null` | no |
142142
| <a name="input_s3_guard_table_name"></a> [s3\_guard\_table\_name](#input\_s3\_guard\_table\_name) | Name for the DynamoDB table backing S3Guard. Only applicable for CDP deployment on AWS. | `string` | `null` | no |

modules/terraform-cdp-deploy/modules/aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ resource "cdp_datalake_aws_datalake" "cdp_datalake" {
132132
runtime = var.datalake_version == "latest" ? null : var.datalake_version
133133
scale = var.datalake_scale
134134
enable_ranger_raz = var.enable_raz
135-
multi_az = var.multiaz
135+
multi_az = var.datalake_scale == "LIGHT_DUTY" ? null : var.multiaz
136136

137137
image = var.datalake_image
138138
java_version = var.datalake_java_version

modules/terraform-cdp-deploy/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ variable "environment_polling_timeout" {
206206
variable "multiaz" {
207207
type = bool
208208

209-
description = "Flag to specify that the FreeIPA and DataLake instances will be deployed across multi-availability zones."
209+
description = "Flag to specify that the FreeIPA and DataLake instances will be deployed across multi-availability zones. Note that with LIGHT_DUTY datalake multiaz datalake is disabled."
210210

211211
default = true
212212
}

0 commit comments

Comments
 (0)