Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

FEEDBACK: Setup Script Pre-Check - Resources Available to be Deployed in Target Region #11

@AErmie

Description

@AErmie

When attempting to use the setup script to build the required prereq environment (ie. specifically the Containers Open Hack), it would be a better user experience if the script itself performed a check prior to attempting to deploy the resources.

The reason being (with the Containers Open Hack), it attempts to deploy an Azure SQL Database. However, depending on which Azure Region you select as part of the deployment command... you may encounter the following error:

Creating Azure SQL Server instance...
Deployment failed. Correlation ID: 19039868-35d5-46fe-85c6-248fad5b265b. Location 'West US' is not accepting creation of new Windows Azure SQL Database servers at this time.
Failed to create SQL Server.

The issue with this is that the script will have already deployed (successfully) some of the other resources (ie. Azure Container Registry, Azure Container Instance, Azure Virtual Machine). That means you have a partially successful and partly failed deployment; which you have to clean up first before re-attempting.

Adding a simple check for availability to create the resource(s) in the target region would make this setup far better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions