Is there a C# lib out there that can validate reso...
# dotnet
d
Is there a C# lib out there that can validate resource names (rg, key vault, storage, registry and so on) BEFORE I try to submit the pulumi code to azure? Since we have versioned ephemeral infrastructure - there will be parallel instances of the entire infra stack - and it'd be easier to understand what is what if I can inject the version numbers into the names in some places - in addition to tags - but some naming rules don't allow periods, or underscores while others do (e.g. rg vs container registry name). Thanks for any hints / tips
e
preview
should be checking naming rules like that, if it's not that's a bug
d
ah, interesting - I've had ACR's fail, as well as some other resources currently not in my brain ...
e
Do raise issues if preview says a name is fine but then update rejects it, in most cases we should be able to validate names even at preview time.