terraform-aws-modules / terraform-aws-apigateway-v2

Terraform module to create AWS API Gateway v2 (HTTP/WebSocket) 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/apigateway-v2/aws
Apache License 2.0
144 stars 188 forks source link

feat: Add support for response_parameters in integrations #58

Closed mattoddie closed 2 years ago

mattoddie commented 2 years ago

Description

Add support for "response_parameters" to an integration to allow modification of response headers.

Motivation and Context

It is not possible to set the "response_parameters" block on an integration using this module, which can be useful for setting security headers that get added to all API responses.

Breaking Changes

There are no breaking changes

How Has This Been Tested?

mattoddie commented 2 years ago

Please update versions.tf in the root and in example with the minimum version of AWS provider where this feature was introduced - 3.24.0.

https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#3240-january-14-2021

@antonbabenko thanks for spotting that! Updated.

antonbabenko commented 2 years ago

Thanks, @mattoddie !

v1.5.0 has been just released.

github-actions[bot] commented 1 year ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.