https://pulumi.com logo
#general
Title
# general
b

best-xylophone-83824

08/13/2019, 2:12 PM
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

white-balloon-205

08/13/2019, 3:29 PM
Yep - definitely would be good to document this. Curious - where would you have wanted to find this in the docs?
b

best-xylophone-83824

08/13/2019, 3:30 PM
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

white-balloon-205

08/13/2019, 3:45 PM
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.
2 Views