coderigo
coderigo
ideally the `FormatMessage` function the log level in its signature. something like this would allow setting color for the message to match the level.: ```golang func(i interface{}, level zerolog.Level) string...
Old thread, sorry to necro it. @idangur. FWIW, I had exactly the same issue and managed to get pretty far by simply patching `internal/lang/funcs/filesystem.go`'s `openFile` [here](https://github.com/hashicorp/terraform/blob/main/internal/lang/funcs/filesystem.go#L359) to compare the file...
Yeah definitely. In our case the combination of local filesystem whitelisting and provider whitelist puts as good a controlled barrier as we can on local filesystem access. Whitelisting providers in...