-
Notifications
You must be signed in to change notification settings - Fork 196
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] Add support for default.value for parameter.v0 #4371
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Thanks for updating the test cases to show the behavior working out in practice.
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
fix: #4359
Parameter.v0 can have either a
generate
orvalue
for thedefault
settings. This PR adds support forazd
to handlethe
value
settings from the manifest.When
valued
is defined like:azd generates a bicep input param like:
and a mapping to system env var
AZURE_PARAM_NAME
to override the default value.Notes:
secret
istrue
anddefault.value
is defined, azd returns an error because that would expose a secured() value.deploy
, the YAML definition references the name of the parameter and the default value to support mapping to env var during deploy time.