This message was deleted.
# python
s
This message was deleted.
c
I usually avoid accessing the pulumi config from everywhere. I centralize config reading in the pulumi program and pass values to resources. So when I write tests on resources, I avoid that issue.
Alternatively, you may try to monkeypatch and mock the config object used in your Pulumi program.
e
Thanks for the tip! I’ll be sure to do the same.