AzureTRE: Workspace deploy fails because storage account is not unique
Describe the bug A clear and concise description of what the bug is.
I’ve just deployed a workspace and get
mError: \u001b[0m\u001b[0m\u001b[1mcreating Azure Storage Account \"stgws2a73\": storage.AccountsClient#Create: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code=\"StorageAccountAlreadyTaken\" Message=\"The storage account named stgws2a73 is already taken.
looks like the last 4 chars are maybe not unique enough. Seems odd though if it’s ~1/10^6 chance
Steps to reproduce
- Deploy a workspace
- Be unlucky!
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 22 (17 by maintainers)
Commits related to this issue
- Workspace deploy fails because storage account is not unique Fixes #2893 — committed to marrobi/AzureTRE by marrobi 3 years ago
Had a chat with people about this and the view is using unique IDs for the full name - all characters, and then tags for the descriptions might be the best approach. If we use the TRE ID then we are going to start running out of characters.