From 2722f6631e5c102b93869499ead29087f3848800 Mon Sep 17 00:00:00 2001 From: Simon Hughesdon Date: Wed, 16 Oct 2024 14:10:23 +0100 Subject: [PATCH] Correct search API stage name Stage names can only be a-zA-Z0-9_ --- .../govuk-publishing-infrastructure/search_api_gateway.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf b/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf index 014a69ec7..d1f8e6dfd 100644 --- a/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf +++ b/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf @@ -48,7 +48,7 @@ resource "aws_api_gateway_integration" "search_lb_integration" { # Create a deployment for the API Gateway resource "aws_api_gateway_deployment" "search_deployment" { rest_api_id = aws_api_gateway_rest_api.search_rest_api.id - stage_name = "v0.1" # Version embedded in the published URL + stage_name = "v0_1" # Version embedded in the published URL } # Map API Gateway stages to custom domain