Skip to content

Commit

Permalink
fix opensearch env vars (#2451)
Browse files Browse the repository at this point in the history
fast-follow to #2341
  • Loading branch information
coilysiren authored Oct 10, 2024
1 parent 57013e6 commit 43cceb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/api/service/search.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
data "aws_ssm_parameter" "search_username_arn" {
count = local.environment_config.search_config != null ? 1 : 0
name = "/search/${local.prefix}${var.environment_name}/username"
name = "/search/${local.service_name}/username"
}

data "aws_ssm_parameter" "search_password_arn" {
count = local.environment_config.search_config != null ? 1 : 0
name = "/search/${local.prefix}${var.environment_name}/password"
name = "/search/${local.service_name}/password"
}

data "aws_ssm_parameter" "search_endpoint_arn" {
count = local.environment_config.search_config != null ? 1 : 0
name = "/search/${local.prefix}${var.environment_name}/endpoint"
name = "/search/${local.service_name}/endpoint"
}

0 comments on commit 43cceb4

Please sign in to comment.