@Andriy Knysh (Cloud Posse) this fixes regressions in testing related to how we handle environment variables. we still use os.Setenv where we should call t.Setenv. But this fixes ones that were causing tests in my other PRs to fail, and adds extensive unit tests on the functionality.
https://github.com/cloudposse/atmos/pull/1543