Skip to content

Commit

Permalink
Merge pull request #1305 from alphagov/add-https-to-opensearch-url
Browse files Browse the repository at this point in the history
Change the opensearch url secret to include 'https://'
  • Loading branch information
AlexAvlonitis authored May 10, 2024
2 parents 58affe8 + 90f54cc commit 8b067d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/deployments/opensearch/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 8b067d3

Please sign in to comment.