This message was deleted.
s
This message was deleted.
l
I use the awsx.ec2.Vpc resource with unit tests, and it all works as expected using just a minimal
newResource
and a
call
implementation for
getAvailabilityZones
. What isn't ending up the way you expect? Pulumi unit tests are just for testing inputs (testing that your program is passing the right parameter into the various constructors, mostly), so if your test is expecting more than that, you might have difficulties.
e
Actually the mock
getAvailablilityZones
was all I needed to get it working! thanks!
👍 1