redhat-developer / redhat-developer/mapt
[Enhancement] Enhance region selection for Azure instance creation
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24
- Forks
- 36
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 8
Description
Descrition
Currently, creating an Azure instance using mapt 0.8.0 may fail if the selected region does not support the required resource type.
Suggested Enhancement:
If the requested region does not support the resource type, mapt should automatically select an alternative from the list of available regions rather than failing
Logs:
error: Status=400 Code="LocationNotAvailableForResourceType" Message="The provided location 'southafricawest' is not available for resource type 'Microsoft.Storage/storageAccounts'. List of available regions for the resource type is 'eastus,eastus2,westus,westeurope,eastasia,southeastasia,japaneast,japanwest,northcentralus,southcentralus,centralus,northeurope,brazilsouth,australiaeast,australiasoutheast,southindia,centralindia,westindia,canadaeast,canadacentral,westus2,westcentralus,uksouth,ukwest,koreacentral,koreasouth,francecentral,australiacentral,southafricanorth,uaenorth,switzerlandnorth,germanywestcentral,norwayeast,westus3,jioindiawest,swedencentral,qatarcentral,polandcentral,italynorth,israelcentral,mexicocentral,spaincentral,newzealandnorth,indonesiacentral'."
example workflow run: https://github.com/podman-desktop/extension-minikube/actions/runs/14046928968/job/39329664152
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Azure instance creation failure from the linked workflow run and trace the region-selection path that handles the LocationNotAvailableForResourceType error. Done means an unsupported requested region results in selection of an available alternative instead of creation failing; the payload names no source files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100