Skip to content

Commit 909bc14

Browse files
authored
feat: Trigger re-deployment when API body changes (#110)
1 parent 6af44f5 commit 909bc14

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.90.0
3+
rev: v1.92.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_wrapper_module_for_each

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ resource "aws_apigatewayv2_deployment" "this" {
388388
jsonencode(aws_apigatewayv2_integration.this),
389389
jsonencode(aws_apigatewayv2_route.this),
390390
jsonencode(aws_apigatewayv2_route_response.this),
391+
jsonencode(aws_apigatewayv2_api.this[0].body),
391392
])))
392393
}
393394

0 commit comments

Comments
 (0)