Skip to content

Commit 2271938

Browse files
Fix api gateway route, full deploy
1 parent 0f1dfeb commit 2271938

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎infrastructure/api_gateway.tf‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ resource "aws_apigatewayv2_route" "contact" {
3535
api_id = aws_apigatewayv2_api.portfolio.id
3636
route_key = "POST /api/contact"
3737
target = "integration/${aws_apigatewayv2_integration.contact.id}"
38+
39+
depends_on = [aws_apigatewayv2_integration.contact]
3840
}

0 commit comments

Comments
 (0)