-
Notifications
You must be signed in to change notification settings - Fork 195
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
base: main
Are you sure you want to change the base?
Conversation
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.