Skip to content

Commit

Permalink
Correct search API stage name
Browse files Browse the repository at this point in the history
Stage names can only be a-zA-Z0-9_
  • Loading branch information
sihugh committed Oct 16, 2024
1 parent 34ba13d commit 2722f66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2722f66

Please sign in to comment.