GitHub
12/01/2024, 8:13 PMMY_DATE=$(date +'%Y-%m-%d') meltano run tap-spreadsheets-anywhere target-snowflake because Airflow builds the command for me for the input tap-spreadsheets-anywhere target-snowflake. Another thing to consider is that my production is in read-only mode, I think many others do this too, so I cant make changes to files.
Something I considered doing was writing a python script to populate the config value and try to export it to the meltano environment context, like meltano run my_script_to_export_env tap-spreadsheets-anywhere target-snowflake. This is definitely a hack but I wonder if theres other use cases for something like this, maybe multi tenant would also like something like this.
I know theres probably a challenge with the idea of potentially parallelizing these blocks in the future in which case the timing of the script would get messed up.
@kgpayne suggested that we consider adding functionality to the EDK to allow writing back to meltano environment, maybe thats a path forward.
Is there a simpler way to achieve what I want?
Related slack thread https://meltano.slack.com/archives/C01UTUSP34M/p1660163864060499
meltano/meltanoGitHub
12/01/2024, 8:13 PM