.NET Aspire - Resource Group Control #4467
Replies: 1 comment 1 reply
-
The only way I've found to do this, is to initialize environment names in the AppHost project that are more descriptive. So instead of just a "dev" & "test" environment, I'd created "{projectName}-dev" & "{projectName}-test". Since all our Resource Groups are prefixed with "rg-" as standard practice, this is a workable but ugly solution. There is this open issue, to have the Not much help I'm afraid, but hopefully there's something here to get you going. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if there is a way (other than infra synth -> manual update) to control the name of the resource group that is created. I.e It currently creates "rg-{environmentName}" - however this isn't particularly scalable, we would generally use something along the lines of
"{prefix}-{teritory}-{environmentName}-rg-{product}"
Apologies if I've missed something basic - but I've spent the last day trying to figure this out without joy.
Beta Was this translation helpful? Give feedback.
All reactions