We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecead1c commit c3ca531Copy full SHA for c3ca531
examples/amazon-opensearch-domain/locals.tf
@@ -5,7 +5,7 @@ resource "random_password" "opensearch_master_password" {
5
}
6
7
locals {
8
- opensearch_master_user_name = var.master_user_name == "" ? "observability-accelerator" : var.master_user_name
9
- opensearch_master_user_password = var.master_user_password
+ opensearch_master_user_name = var.master_user_name
+ opensearch_master_user_password = var.master_user_password == "" ? random_password.opensearch_master_password.result : var.master_user_password
10
availability_zone = var.availability_zone == "" ? "${var.aws_region}a" : var.availability_zone
11
0 commit comments