mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-03 20:50:59 -05:00
Due to the inherently ephemeral nature of provider configuration, inconsistent function results were tolerated while evaluating provider config. This loophole was found to be used by a number of configurations, which took advantage of it to create the equivalent of ephemeral values before they formally existed in the language. In order to work around this, we create a special evaluation scope just for providers, allowing us to override the results check for filesystem functions. I've opted to not further clutter the EvalContext interface since this is intended to be a temporary workaround, and does not contribute to the testing of that interface (the interface is solely for internal unit tests anyway). |
||
|---|---|---|
| .. | ||
| blocktoattr | ||
| ephemeral | ||
| format | ||
| funcs | ||
| globalref | ||
| langrefs | ||
| marks | ||
| testdata/functions-test | ||
| types | ||
| checks.go | ||
| data.go | ||
| data_test.go | ||
| doc.go | ||
| eval.go | ||
| eval_test.go | ||
| function_results.go | ||
| function_results_test.go | ||
| functions.go | ||
| functions_descriptions_test.go | ||
| functions_test.go | ||
| scope.go | ||