This message was deleted.
# contribute
s
This message was deleted.
m
This is configuration that the provider requires. In this case, looks like only `hcloud:token`/`HCLOUD_TOKEN` - is it set?
s
Aaaah. I was passing
HCLOUD_TOKEN
as env var to the engine; are you saying that I should instead, for the attach to work, pass it to the plugin?
Yes! It works!
m
Great! Sorry for the unhelpful error message.
s
Thanks for the quick reply!
Since we are talking about plugin debugging/development, any chance to mention these instructions in the hugo repo? To help people to get started?
m
That’s a good point. Probably here which already mentions TF_LOG.
s
Yes exactly. As a dev new to pulumi but with a certain experience, I found that page and when I saw the TF_LOG I hoped there was something less painful and searching around I stumbled upon the PR that PULUMI_DEBUG_PROVIDERS. So yes, that page would be perfect.
Less painful == less painful than adding printf and looking at the logs.