8000 The extension ignores the "options.env" when running · Issue #326 · microsoft/vscode-dapr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
This repository was archived by the owner on Jun 24, 2025. It is now read-only.
The extension ignores the "options.env" when running #326
Open
@evhen14

Description

@evhen14

The extension ignores the env variables when defining env variables in tasks.json as

{
  "version": "2.0.0",
  "tasks": [
    {
      "appId": "my-app",
      "label": "daprd-debug-python",
      "type": "dapr",
      "args": [],
      "componentsPath": "./components",
      "appPort": 8080,
      "options": {
      	"env": {
           "APP_API_TOKEN": "test",
      	}
      },
    }
  ]
}

In my particular case, I want to always validate Dapr API token. There is no Dapr CLI argument to assign a token value.

I assume there might be other use cases for using env variables like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0