You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above example the catalogToken parameter is required and does NOT have a default value. If the referenced environment variable GITHUB_TOKEN is not set then this would resolve to an empty string parameter value.
This will satisfy the bicep parameter but is not the intended experience. Instead if the parameter is required AND the parameter does not specify a default value azd should prompt the user for a value.
Use a main.parameters.json file that specifies a parameter that references a environment variable.
Ensure this environment variable is NOT set either in your shell or azd
Run azd provision for the project
Expected: azd should prompt the user to specify a value for the parameter
Actual: azd does NOT prompt the user and an empty string is passed along as the parameter value
The text was updated successfully, but these errors were encountered:
… set environment variables (#2896)
Fixes#2895 & #1910
When main.parameters.json references an empty or not set value expression azd will prompt the user for a value unless the parameter also defines a default value.