ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Make AWS S3 bucket name fully configurable
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18
- フォーク
- 10
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 14
説明
Describe the issue
Currently, the AWS S3 bucket name is constructed dynamically in code like this:
return f"{self.AWS_S3_BUCKET_PREFIX}-{self.ENVIRONMENT}"
-
This assumes that all bucket names will follow the - pattern.
-
However, in future scenarios, users or organizations might bring their own bucket names, which may not include the environment in their naming convention or may follow completely different patterns.
-
Hardcoding the bucket name composition like this makes it inflexible and prone to failure if the naming convention does not match.
Expected behavior
-
There should be a single, fully-configurable AWS S3 bucket name setting
(e.g., AWS_S3_BUCKET_NAME)which is used directly without concatenating prefix and environment in code. -
This allows using existing customer buckets regardless of naming convention.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue に示されている AWS_S3_BUCKET_PREFIX と ENVIRONMENT に基づくバケット構成を backend で検索し、バケット設定が読み取られる箇所を追跡してください。その合成を単一の設定可能なバケット名設定に置き換え、設定された名前が変更されずに使用されることを検証してください。環境サフィックスのない名前も含みます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, python
- 領域
- backend, cloud
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 68/100