Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Aspire] Deploy fail when using with-default-value parameter as part of the Args to build a Dockerfile #4523

Closed
vhvb1989 opened this issue Nov 7, 2024 · 0 comments · Fixed by #4524
Assignees
Labels
aspire bug Something isn't working

Comments

@vhvb1989
Copy link
Member

vhvb1989 commented Nov 7, 2024

Parameters are defined as part of bicep definition. The bicep definition can use it or not.
During deploy, azd writes a function like ParameterWithDefault name defaultValue in yaml definitions which azd can resolve to use the parameter.
However, if the parameter is required as an Argument to build a Dockerfile or to call dotnet publish, azd has no way to find the default value for the parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspire bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants