What is the general 'good practise' or consensus (if any) around environments and environments promotion?
Do you use dotenv (or similar) or use the stack as an environment?
I am tempted to go for the second option and name everything after the stack.
l
little-cartoon-10569
03/22/2021, 8:11 PM
That's what I do. It doesn't work if you want to promote an actual deployed environment (e.g. the current "dev" resources are accepted by testers and become the "test" environment, but that's not a common practice. If you want to promoted a branch or tag to a new environment, then stacks work perfectly.
d
damp-school-17708
03/23/2021, 8:59 AM
yes in theory we can even do branch deploys, that's a great idea, thanks