aws / aws/aws-lambda-runtime-interface-emulator

Question: Is it possible to configure CORS?

Ouverte
#16 1 commentaire 21 réactions 0 personnes assignées Voir sur GitHub
documentation enhancement
Langage dominant
Go
Étoiles
1.1k
Forks
118
Merge moyen
42 min
PR mergées (30 j)
2

Description

Hi, y'all! First of all thanks for your great work. My first time using AWS Lambda tooling and I'm really enjoying the experience so far 😊

My question because I didn't really find anything in the docs (which makes sense as the product is rather new): is it possible to configure CORS for the local RIE docker container which holds my custom function? Once it is deployed I'd imagine you would configure this directly in AWS but until then I currently don't see a way how I'd tell it to set CORS headers.

It's not the biggest of problems, as I could just use another pass-through CORS proxy locally. I was just wondering whether this was already a supported scenario.

Thanks a lot in advance!

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The issue names the local RIE Docker container, custom function, and CORS headers but no source file or test. Start by checking the existing documentation and local request handling for CORS configuration; done would be a documented supported way to set CORS headers locally, or a clear statement that it is not supported.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
aws, docker, go
Domaine
api, cloud, tooling
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.