-
-
Notifications
You must be signed in to change notification settings - Fork 82
Duplicate URNs caused by truncated Azure resource names #790
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
Comments
This is too broad, needs an issue for each specific instance with its relevant naming restrictions. |
Since Azure has overly restrictive resource name requirements, such as maximum lengths as short as just 14 characters in some cases, we implemented the However, that creates a high likelyhood of name collisions from the resulting normalized, truncated names. Resulting in duplicate resource names and/or duplicate Pulumi resource URNs. |
That's fair enough in this case we should address the URNs and unique azure resource names as separate issues, as changing either of them for a resource is a destructive operation need to ensure we aren't going to clobber resources that contain data. Truncation of any kind should not be used for URNs |
For migration of resources where we want to change the URN see: |
Bug Report
Issue
When deploying to Azure, Nitric can generate resource names that exceed Azure's length limits. To comply, these names are truncated. However, truncation can lead to different resources ending up with identical names, resulting in duplicate URNs and deployment conflicts.
Expected
Each Nitric resource should result in a unique Azure resource name and corresponding URN, even if the original names require truncation.
The text was updated successfully, but these errors were encountered: