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

[Bug] Prompt for location when location is already set as parameter with fixed value #1983

Open
vhvb1989 opened this issue Apr 19, 2023 · 2 comments
Assignees
Labels
Milestone

Comments

@vhvb1989
Copy link
Member

Repo:

In main.parameters.json set a location like:

  "parameters": {
    "location": {
      "value": "centralus"
    }
  }

Then run azd provision from a new environment (azd env new).

Issue:
azd prompts for a location:

image

The selected location from the prompt is ignored and after azd provision finished, the location is updated in the environment. So the only problem is the extra useless prompt for location,, that is actually ignored.

@ghost ghost added the needs-triage For new issues label Apr 19, 2023
@savannahostrowski savannahostrowski added this to the Gallium milestone May 15, 2023
@ghost ghost removed the needs-triage For new issues label May 15, 2023
@rajeshkamal5050
Copy link

@ellismg Can you link it with the other Region sorting/filtering issue.?

@ellismg
Copy link
Member

ellismg commented Jul 26, 2023

See #2387, where my spike had a fix for this issue by looking at the main.parameters.bicep and looking for ${AZURE_LOCATION} and not prompting if it was not referenced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants