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

Cannot Run a Second Deployment #127

Closed
AnalyticJeremy opened this issue Jul 29, 2021 · 3 comments · Fixed by #132 or #136
Closed

Cannot Run a Second Deployment #127

AnalyticJeremy opened this issue Jul 29, 2021 · 3 comments · Fixed by #132 or #136
Assignees
Labels
bug Something isn't working

Comments

@AnalyticJeremy
Copy link
Contributor

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

@AnalyticJeremy AnalyticJeremy added the bug Something isn't working label Jul 29, 2021
@marvinbuss
Copy link
Collaborator

marvinbuss commented Jul 30, 2021

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:

  • dataManagementZoneDeployment-{location}

For Data Landing Zone:

  • dataLandingZoneDeployment-{idx}-{location}

@marvinbuss marvinbuss linked a pull request Aug 2, 2021 that will close this issue
@marvinbuss
Copy link
Collaborator

I will implement the fix that I mentioned above today.

@marvinbuss
Copy link
Collaborator

One more change required to fix this.

@marvinbuss marvinbuss linked a pull request Aug 2, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants