localstack-azure-client: .bicepparam files that use readEnvironmentVariable() can't be deployed
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 64/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- azure, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 29
- フォーク
- 14
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
localstack/localstack-mcp-server のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
localstack/localstack-mcp-server#112 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
localstack/localstack-mcp-server#110 ·
メンテナーはふだん 1 日以内に返信
-
Azure weekly suite failing対応中かも @HarshCasper が 26 日前に担当しました。 オープン
localstack/localstack-mcp-server#83 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Deployer health check blocks deploys to remote/ephemeral instances (requires a local gateway)対応中かも @missusk が 62 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
localstack/localstack-mcp-server#70 ·
メンテナーはふだん 1 日以内に返信
-
Inconsistent container name between `lstk` (`localstack-aws`) and MCP (`localstack-main`)対応中かも @jhubbardsf が 190 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
localstack/localstack-mcp-server#25 ·
メンテナーはふだん 1 日以内に返信
localstack/localstack-mcp-server の issue をすべて見る
似ている issue
-
BeOS .json missingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mihaip/infinite-mac#475 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
marmelab/atomic-crm#401 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Deltares/webgl-streamline-visualizer#83 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信