This fixes the issue @acote88 ran into when you use a var in an interpolated env. We don't check whether the var is actually added to config, so then this causes an exception during deployment (and on top of that CD keeps running forever.)
Alternatively, we could silently resolve these missing vars to empty string, which is what the shell/docker do, but I think an error avoid wasting time on wondering why something doesn't work.
This fixes the issue @acote88 ran into when you use a var in an interpolated env. We don't check whether the var is actually added to config, so then this causes an exception during deployment (and on top of that CD keeps running forever.)
Alternatively, we could silently resolve these missing vars to empty string, which is what the shell/docker do, but I think an error avoid wasting time on wondering why something doesn't work.
Fixes https://github.com/DefangLabs/defang-mvp/issues/1148