I guess your mocks return null which causes this error. You’d have to actually implement
IMocks
.
b
breezy-salesmen-85534
01/27/2021, 9:32 AM
thank you for a quick reply. I will try that.
breezy-salesmen-85534
01/27/2021, 12:29 PM
I implemented IMocks, as you said. It worked. Now that I want to test kubernetes namspaces (only) I would have to create a separate test stack with kubernetes and kubernetese namspaces.
It feels a bit clumbersome, but it works.
I can live with that.
To anyone else reading this. the solution here is to set up IMocks with
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.