pat_nadolny
02/03/2022, 8:13 PM--environment=prod
or through a MELTANO_ENVIRONMENT
. Its easy to solve if I use the second method but if I define it using the --environment
argument there doesnt seem to be any environment variable set. Is there a way to consistently do this?pat_nadolny
02/03/2022, 8:15 PMvisch
02/03/2022, 9:05 PMedgar_ramirez_mondragon
02/03/2022, 9:33 PMsrc/meltano/core/bundle/settings.yml
so the env var always gets injected into the execution environment. @pat_nadolny I'm curious how you intend to use the detected environment.pat_nadolny
02/03/2022, 10:12 PMpat_nadolny
02/03/2022, 10:13 PMAIRFLOW_OPERATOR
or something at the env config level, maybe thats better actually. I cant remember why i didnt want to do thatken_payne
04/06/2022, 10:44 AMdbt
(rather that creating a new Meltano-specific DBT_PROFILE
setting and env var) 🤔 +1 for injecting MELTANO_ENVIRONMENT
into plugin context as I think it is much neater and more reusable than a per-plugin setting definition 🙂aaronsteers
04/06/2022, 5:05 PMMELTANO_ENVIRONMENT
into child processes if environment is declared another way (e.g. via the CLI flag, or via default_environment in meltano.yml)pat_nadolny
04/06/2022, 5:06 PMaaronsteers
04/06/2022, 5:12 PM