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

[Issue] Can't override overall location for new azd up #2695

Closed
1 task done
pamelafox opened this issue Sep 1, 2023 · 0 comments · Fixed by #2696
Closed
1 task done

[Issue] Can't override overall location for new azd up #2695

pamelafox opened this issue Sep 1, 2023 · 0 comments · Fixed by #2696

Comments

@pamelafox
Copy link
Member

Output from azd version

azd version 1.2.0 (commit 99ea757)

Describe the bug

I attempted to override location with an allowed here:

@minLength(1)
@description('Primary location for all resources (restricted subset due to Form Recognizer availability)')
@allowed(['southafricanorth', 'eastasia', 'southeastasia', 'australiaeast', 'brazilsouth', 'canadacentral', 'northeurope', 'westeurope', 'francecentral', 'germanywestcentral', 'centralindia', 'japaneast', 'japanwest', 'koreacentral', 'norwayeast', 'qatarcentral', 'swedencentral', 'switzerlandnorth', 'uaenorth', 'uksouth', 'centralus', 'eastus', 'eastus2', 'northcentralus', 'southcentralus', 'westcentralus', 'westus', 'westus2', 'westus3'])
@metadata({

  azd: {
    type: 'location'
  }
})
param location string

But the locations weren't filtered in a fresh azd up. @vhvb1989 confirmed that it's a bug.

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

Successfully merging a pull request may close this issue.

3 participants