ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Make AWS S3 bucket name fully configurable
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 18
- Forks
- 10
- Merge medio
- 2 d 20 h
- PR fusionados (30 d)
- 14
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Busca en el backend la construcción del bucket basada en AWS_S3_BUCKET_PREFIX y ENVIRONMENT que se muestra en el issue, y sigue el flujo hasta donde se lee la configuración del bucket. Sustituye esa composición por una única configuración del nombre del bucket y verifica que el nombre configurado se use sin modificaciones, incluidos los nombres sin un sufijo de entorno.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, python
- Área
- backend, cloud
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 68/100