We have defined a tag that needs to be set for each meshProject which represents the environment. ("DEV", "TEST", PROD")
On the cloud platforms, the name of the project/subscription should contain the environment as well.
Therefore you should be able to use tags in the pattern for the project/subscription names as well, e.g.