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
148 stars 200 forks source link

fix: Add support for passing authorization_scopes on routes with JWT authorizer #67

Closed jschilperoord closed 2 years ago

jschilperoord commented 2 years ago

Description

Make it possible to pass the authorization_scopes as a comma separated string on the integration level. Passing it as a set of string like the AWS resource expects makes the variable validation fail with a " attribute types must all match for conversion to map" as also described here

Motivation and Context

Due to missing documentation on the AWS provider the authorization_scopes parameter was being ignored. The docs have been updated as seen here This fixes issue

Breaking Changes

No. This is an optional parameter

How Has This Been Tested?

antonbabenko commented 2 years ago

This PR is included in version 1.6.1 :tada:

tim0git commented 2 years ago

Amazing work, works like a dream! Thank you all.

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.