diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3f82491..b567c52 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 39b83cb..2ea2035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [5.1.0](https://github.com/terraform-aws-modules/terraform-aws-apigateway-v2/compare/v5.0.0...v5.1.0) (2024-07-05) + + +### Features + +* Trigger re-deployment when API body changes ([#110](https://github.com/terraform-aws-modules/terraform-aws-apigateway-v2/issues/110)) ([909bc14](https://github.com/terraform-aws-modules/terraform-aws-apigateway-v2/commit/909bc14b4b55c0a387638d7d0a608a912f40888b)) + ## [5.0.0](https://github.com/terraform-aws-modules/terraform-aws-apigateway-v2/compare/v4.0.0...v5.0.0) (2024-06-04) diff --git a/main.tf b/main.tf index 3359561..ae05c10 100644 --- a/main.tf +++ b/main.tf @@ -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), ]))) }