This message was deleted.
s
This message was deleted.
w
Yes - that will work, and is generally recommended currently. This ensures that you will get exactly this
require
at runtime. We are discussing in https://github.com/pulumi/pulumi/issues/1588#issuecomment-401968174 an approach which would allow capture of top-level imports to be interpreted as a top-level
require
at runtime - feel free to add in there as well.
👍 1