Clear and concise description of the problem
All resources should have a name constraint. Azure portal will always implement such a name constraint for resources, therefore such information should be documented in our typespec (and then it will show up in the swagger as well) and this will benefit every one.
Our CDK packages are heavily relying on name constraints for resources, it has been a nightmare that majority of our typespec does not really have one.
If we add a linter rule, at least for new resources, the service team will get noticed to write their name constraint on the resource.
Checklist
Clear and concise description of the problem
All resources should have a name constraint. Azure portal will always implement such a name constraint for resources, therefore such information should be documented in our typespec (and then it will show up in the swagger as well) and this will benefit every one.
Our CDK packages are heavily relying on name constraints for resources, it has been a nightmare that majority of our typespec does not really have one.
If we add a linter rule, at least for new resources, the service team will get noticed to write their name constraint on the resource.
Checklist