Closed erezrokah closed 1 year ago
Related to https://github.com/cloudquery/cloudquery/issues/14599 (this problem was also mentioned in a comment there)
I'll reply the same as https://github.com/cloudquery/cloudquery/issues/14599. I don't think this is something we need to solve as it's a product on it's own. i.e: "smart context based variable expansion".
I think a documentaiton on how variable expansion works: 1) plain search and replace 2) specify what are the limitation
should solve both those issues.
Describe the bug
Given the following configuration:
Running
cloudquery sync <path-to-config>
you get an error if theTEST_STRING
variable is not setExpected Behavior
Don't fail on missing env vars in comments
Steps to Reproduce
Run
cloudquery sync
with the provider configurationPossible Solution
Ignore comments when expanding env variables
Provider and CloudQuery version
cloudquery version 2.1.0
Additional Context
No response