localstack-azure-client: .bicepparam files that use readEnvironmentVariable() can't be deployed
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 64/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- azure, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 29
- Forks
- 14
- Ø Merge
- 3 T. 16 Std.
- Gemergte PRs (30 T.)
- 18
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus localstack/localstack-mcp-server
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
localstack/localstack-mcp-server#112 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
localstack/localstack-mcp-server#110 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Azure weekly suite failingEvtl. vergeben @HarshCasper hat das vor 25 Tagen übernommen. Offen
localstack/localstack-mcp-server#83 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Deployer health check blocks deploys to remote/ephemeral instances (requires a local gateway)Evtl. vergeben @missusk hat das vor 61 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
localstack/localstack-mcp-server#70 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Inconsistent container name between `lstk` (`localstack-aws`) and MCP (`localstack-main`)Evtl. vergeben @jhubbardsf hat das vor 190 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
localstack/localstack-mcp-server#25 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in localstack/localstack-mcp-server
Ähnliche Issues
-
Replace discontinued crypto-js in the themeEvtl. vergeben @aelmanaa hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
PaloAltoNetworks/docusaurus-openapi-docs#1689 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
solana-foundation/solana-web3.js#4015 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
formatSearchQuery drops the :present modifier, so `email:present=true` is sent as `email=true`Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 90/100
ivopogace/opencode-courier#422 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
chapel-lang/chapel-vscode#158 ·
Maintainer antworten meist innerhalb von 1 Tag