diff --git a/terraform/deployments/opensearch/main.tf b/terraform/deployments/opensearch/main.tf index f664e1664..81d0f7f52 100644 --- a/terraform/deployments/opensearch/main.tf +++ b/terraform/deployments/opensearch/main.tf @@ -170,7 +170,7 @@ resource "aws_secretsmanager_secret" "opensearch_passwords" { resource "aws_secretsmanager_secret_version" "opensearch_passwords" { secret_id = aws_secretsmanager_secret.opensearch_passwords.id secret_string = jsonencode({ - url = aws_opensearch_domain.opensearch.endpoint + url = "https://${aws_opensearch_domain.opensearch.endpoint}" username = local.master_user password = random_password.password.result })