-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Describe the bug
Deployment fails at step bigIpTemplate with the following error:
{
"error": {
"code": "BadRequest",
"message": "Region doesn't support Classic resource mode for Application Insights resources. Please use Workspace-based mode.",
"innererror": {
"trace": [
"System.ArgumentException"
]
}
}
}
Expected behavior
User Input validation should catch this error and handle it gracefully.
Current behavior
unexpected deployment failure:
{
"error": {
"code": "BadRequest",
"message": "Region doesn't support Classic resource mode for Application Insights resources. Please use Workspace-based mode.",
"innererror": {
"trace": [
"System.ArgumentException"
]
}
}
}
Possible solution
Improve user input validation to detect this condition before trying to attempt the deployment.
Steps to reproduce
Click to deploy existing stack auto-scale set template, select subnets input SSH key and all that good stuff and then the deployment fails trying to create a resource type unsupported by the region the resource group is deployed in.
