Im using the gruntsam module to create the copious amount of terraform glue needed to deploy an AWS Gateway API. It works great.
We’re also using a custom Authorizer function to check calls to the API have the correct Auth0 headers. I’ve created a api_gateway_authoriser module to create the authorizer function and set up the IAM roles. The only thing I can’t work out how to do is set up the required CORS settings using the gruntsam module.
It would be great to have an example. I suspect a grunt works api_gateway_authoriser module would be handy for other people too .
Has anyone done this?
Thanks
Andy