localstack-azure-client: .bicepparam files that use readEnvironmentVariable() can't be deployed
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 64/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- azure, typescript
Línea de trabajo
Start with child-env.ts to see how the Azure CLI environment allow-list is built, then read docs/AZURE.md and the tool description. Document that variables are not forwarded and .bicepparam files using readEnvironmentVariable() need inline --parameters, or explore a setting for explicitly forwarded variables while blocking Azure credential prefixes. Done means the limitation and supported behavior are clear, with any forwarding option preserving the stated credential restrictions.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
The Azure tool builds az's environment from an allow-list (child-env.ts). That's the right call for keeping az away from real Azure, but it also means a .bicepparam file that reads a value with readEnvironmentVariable() can't be deployed through the tool:
deployment group validate --resource-group local-rg --template-file bicep/main.bicep --parameters bicep/main.bicepparam
❌ Command Failed (exit 1)
ERROR: …/bicep/main.bicepparam(11,47) : Error BCP427: Environment variable "BACKEND_SECRET" does not exist and there's no default value set.
The api-management-function-app sample in localstack-azure-samples does this: its deploy.sh exports BACKEND_SECRET before calling az. Through the MCP tool there is no way to set it, so an agent has to drop the .bicepparam file and pass --template-file main.bicep --parameters backendSecret=…. That puts the secret in the agent's transcript.
Expected
At least, docs/AZURE.md and the tool description should say that the environment isn't forwarded and that .bicepparam files using readEnvironmentVariable() need inline --parameters instead.
A possible option is a setting that names extra variables to forward to az, while still refusing AZURE_*, ARM_* and MSI_*. That would also keep secrets out of tool-call arguments.
Context
- MCP server 0.7.0 via npx
- LocalStack Azure emulator 2026.11.0.dev501
- Bicep 0.48.1
- Azure CLI 2.70.0
- Lenguaje dominante
- TypeScript
- Estrellas
- 29
- Forks
- 14
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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.
Más de localstack/localstack-mcp-server
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
localstack/localstack-mcp-server#112 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
localstack/localstack-mcp-server#110 ·
Los mantenedores suelen responder en 1 día
-
Azure weekly suite failingPosiblemente ocupada @HarshCasper la tomó hace 26 días. Abierto
localstack/localstack-mcp-server#83 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Deployer health check blocks deploys to remote/ephemeral instances (requires a local gateway)Posiblemente ocupada @missusk la tomó hace 62 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
localstack/localstack-mcp-server#70 ·
Los mantenedores suelen responder en 1 día
-
Inconsistent container name between `lstk` (`localstack-aws`) and MCP (`localstack-main`)Posiblemente ocupada @jhubbardsf la tomó hace 190 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
localstack/localstack-mcp-server#25 ·
Los mantenedores suelen responder en 1 día
Todos los issues de localstack/localstack-mcp-server
Issues similares
-
BeOS .json missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mihaip/infinite-mac#475 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
marmelab/atomic-crm#401 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Deltares/webgl-streamline-visualizer#83 ·
Los mantenedores suelen responder en 1 día
-
ubicloud: usage is an awk syntax error on macOS, which also disables the vCPU quota preflightAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día