localstack / localstack/localstack-extensions

Confusion on which services/requests should be proxied to real AWS and which should not

未關閉
#98 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
47
分支
19
平均合併
2 小時 2 分鐘
30 天內合併 PR
1

描述

  1. If I have read_only set to true for dynamodb, and I have specified resources that I want proxied - what happens to a read request that comes in for a resource I haven't specified? Should it not get proxied out? Currently the behavior is that it does.
  2. If I haven't configured any specific services to be proxied, will all requests then be proxied?
  3. How can I proxy just requests for specific dynamo tables? The following config proxies all requests regardless of which table. If I make a read request for Table3 it will succeed. It's not until I completely remove the dynamo configuration that it fails.
services:
  dynamodb:
    resources:
    - .*TableOne
    - .*TableTwo

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

使用所示的 services.dynamodb.resources 設定重現該行為,並比較針對 TableOne、TableTwo 和 Table3 的請求。首先追蹤已設定的服務和資源模式如何決定是否透過代理轉送 DynamoDB 請求;當未指定資源、空白服務設定和特定資料表比對的行為獲得記錄或修正,並由驗證涵蓋時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
aws, python
領域
cloud
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。