Skip to content

[WebToolsE2E][Aspire] Using ‘azd up’ to deploy aspire starter with redis project fails with error: generating bicep from manifest: argument 1 cannot contain connection strings, secured parameters, or secret outputs. Use environment variables instead. #7429

@v-sherryfan

Description

@v-sherryfan

REGRESSION INFO: Worked in Aspire 9.0.0

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install SDK 9.0.200
    • Apply internal Feed
  3. Install latest Aspire 9.1.0-preview.1.25105.6
    • Apply dotnet9 Feed
  4. Install latest released azd [1.12.0]
  5. Install Docker Desktop 4.38.0

REPRO STEPS

  1. Open CMD, create an Aspire Starter App with redis using following commands:
dotnet new aspire-starter --use-redis-cache -o aspire01
cd aspire01/aspire01.AppHost
  1. Run the following code to deploy
azd init
azd up

ACTUAL
ERROR: generating bicep from manifest: argument 1 cannot contain connection strings, secured parameters, or secret outputs. Use environment variables instead
Image

NOTE

  • This issue didn't repro on Aspire Starter without Redis

EXPECTED
Deployment Success

Metadata

Metadata

Assignees

Labels

area-deploymentarea-integrationsIssues pertaining to Aspire Integrations packagesazureIssues associated specifically with scenarios tied to using Azure

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions