curved-pharmacist-4150912/16/2019, 10:29 PM
Does Pulumi work if you split index.ts into multiple modules?Yes - though of course you then have to import those modules into your
(standard Node.js loader rules).
the modules it await import() internally are not included in the zip.If you are dynamically loading something, you will in general need to use
. This is about what get's packaged into a Lambda, not really about what gets run by Pulumi at deployment time.