Skip to content

Commit

Permalink
feat: Trigger re-deployment when API body changes (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored Jul 5, 2024
1 parent 6af44f5 commit 909bc14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: /~https://github.com/antonbabenko/pre-commit-terraform
rev: v1.90.0
rev: v1.92.0
hooks:
- id: terraform_fmt
- id: terraform_wrapper_module_for_each
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ resource "aws_apigatewayv2_deployment" "this" {
jsonencode(aws_apigatewayv2_integration.this),
jsonencode(aws_apigatewayv2_route.this),
jsonencode(aws_apigatewayv2_route_response.this),
jsonencode(aws_apigatewayv2_api.this[0].body),
])))
}

Expand Down

0 comments on commit 909bc14

Please sign in to comment.