https://pulumi.com logo
Title
m

millions-judge-24978

05/05/2021, 6:04 PM
Did pulumi 3.0 introduce any changes to unit testing related to resource reads? I've updated the
pulumi.runtime.setMocks
. I have some tests that work fine before updating, but after updating fail with an error like
failed to read resource #user 'test-user' [aws:dynamodb/table:Table]: req.getCustom is not a function
b

bored-oyster-3147

05/05/2021, 6:10 PM
yea the migration guide talks about the changes to
Mocks
: https://www.pulumi.com/docs/get-started/install/migrating-3.0/
m

millions-judge-24978

05/05/2021, 6:30 PM
Right, as mentioned I updated the mocks. I'm wondering if anything else might have changed.