localstack-azure-client: .bicepparam files that use readEnvironmentVariable() can't be deployed
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 64/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- azure, typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 29
- Forks
- 14
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 18
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de localstack/localstack-mcp-server
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
localstack/localstack-mcp-server#112 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
localstack/localstack-mcp-server#110 ·
Mantenedores costumam responder em até 1 dia
-
Azure weekly suite failingTalvez livre de novo @HarshCasper assumiu há 29 dias e não há nenhum pull request aberto. Aberta
localstack/localstack-mcp-server#83 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Deployer health check blocks deploys to remote/ephemeral instances (requires a local gateway)Talvez já em andamento @missusk assumiu há 65 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
localstack/localstack-mcp-server#70 ·
Mantenedores costumam responder em até 1 dia
-
Inconsistent container name between `lstk` (`localstack-aws`) and MCP (`localstack-main`)Talvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 55/100
localstack/localstack-mcp-server#25 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de localstack/localstack-mcp-server
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
formbricks/formbricks#9918 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
thecodacus/pithagoras#364 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
openclimatefix/quartz-frontend#823 ·
Mantenedores costumam responder em até 4 dias
-
area:agent-manager community needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
`contacts.create` posts to `/audiences/undefined/contacts` when `audienceId` is undefinedTalvez já em andamento @RaphaelFakhri assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
resend/resend-node#1176 ·
Mantenedores costumam responder em até 1 dia