Skip to content

Commit

Permalink
Keep opensearch name the same
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Sep 17, 2024
1 parent 95d221c commit 8cd2997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/spack_aws_k8s/opensearch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "random_password" "opensearch_password" {
}

resource "aws_opensearch_domain" "spack" {
domain_name = "spack${local.suffix}"
domain_name = "spack${var.deployment_name == "prod" ? "" : "-${var.deployment_name}"}"

engine_version = "OpenSearch_1.3"

Expand Down

0 comments on commit 8cd2997

Please sign in to comment.