Azure / data-management-zone

Template to deploy the Data Management Zone of Cloud Scale Analytics (former Enterprise-Scale Analytics). The Data Management Zone provides data governance and management capabilities for the data platform of an organization.
MIT License
169 stars 90 forks source link

Cannot Run a Second Deployment #127

Closed AnalyticJeremy closed 3 years ago

AnalyticJeremy commented 3 years ago

Describe the bug I used the "Deploy to Azure" button to deploy the "Enterprise-Scale Analytics" template. My first deployment ran successfully. I wanted to run the template again, but I couldn't because the deployment name dataManagementZoneDeployment was already in use.

Can we add a random string to the end of the deployment name so the names are unique?

Steps to reproduce

  1. Use the portal.enterpriseScaleAnalytics.json template to run a deployment
  2. Use the same template again to create a second deployment
  3. Get validation error

Error message

{"code":"InvalidDeploymentLocation","message":"Invalid deployment location 'eastus2'. The deployment 'dataManagementZoneDeployment' already exists in location 'centralus'."}

Screenshots

duplicate-deployment-name-error
marvinbuss commented 3 years ago

Thanks @AnalyticJeremy for catching this. So this is what you tried to do: image

I will add a prefix to the deployment. @AnalyticJeremy are you ok with adding the location as a prefix? What I mean with that is the following:

For Data Management Zone:

For Data Landing Zone:

marvinbuss commented 3 years ago

I will implement the fix that I mentioned above today.

marvinbuss commented 3 years ago

One more change required to fix this.