The "environment" absolutely should _not_ be part of the name of the resource. Coupling the notion of "environment" with your workload (be it in their name or their configuration files) is an anti-pattern that I wish people stopped following. If you have 3 environments, dev staging and prod, you want resources in these environments to be named _exactly the same_ in each environment. Whatever your workloads are, where…
I disagree. Sure it might be an anti pattern, but it’s also for safety. Everything which is production should be called production. I have seen this in the places I’ve worked for the last 10 years or so, and never seen code like: “ if env == 'dev' then ”. There is a story of a bank who sent out cancellations in production of all their trades because of a mistake due to something like that. That was a costly mistake.…
The naming conventions are for the humans to reason about the system, and help the new hire not trigger an outage.
Getting the "proper" amount of information in there is the acme of skill.