I'm using Azure Pipelines.
I want to avoid having to set environment variables on each function.
So I'd like to code in a list of what I want pulled from host such as "TF_BUILD", "SOURCE_REPOSITORY_NAME" and a few others for example, not have to pass in via CLI switches as these are consistent in certain environments.
Is there a way to do this without having to map in myself?
If not I'm assuming I have to abstract this and write my own conditional logic to process "if CI vs local".