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

Question: Is it possible to configure CORS?

オープン
#16 コメント 1 件 リアクション 21 件 担当者 0 名 GitHub で見る
documentation enhancement
主要言語
Go
スター
1.1k
フォーク
118
平均マージ
42分
マージ済み PR(30日)
2

説明

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!

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Issue ではローカルの RIE Docker コンテナ、カスタム関数、CORS ヘッダーについて述べられていますが、ソースファイルやテストは指定されていません。まず既存のドキュメントとローカルのリクエスト処理を確認して、CORS の設定方法を調べてください。完了条件は、ローカルで CORS ヘッダーを設定する、文書化されたサポート対象の方法があること、またはサポートされていないことを明確に記載することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, docker, go
領域
api, cloud, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。