how to debug TF provider? I suspect it makes wrong...
# general
b
how to debug TF provider? I suspect it makes wrong API calls, but got no proof yet 🙂
'TF_LOG=TRACE TF_LOG_PATH=file.log pulumi up
didn't help
TF_LOG=DEBUG pulumi up -v=10 --logtostderr
did the trick. would be nice if it was in the docs
w
Yep - definitely would be good to document this. Curious - where would you have wanted to find this in the docs?
b
I didn't find right section so I didnt create a PR 🙂 https://www.pulumi.com/docs/reference/troubleshooting/ is closest?
it would be better if
-v=10
cranked up
TF_LOG
to DEBUG/TRACE though, then there'd be nothing to document
w
Okay - great - we’ll add to the troubleshooting page. Not sure if there’s an easy way for v=10 to automatically inject TF_LOG, but will look into it.