It's just a standard typescript program, you can write functions in other files and then just call them from the main entrypoint file. https://github.com/pulumi/examples/tree/master/aws-apigateway-ts-routes is an example showing an index.ts which imports and calls functions in other files (like dns.ts) to setup more things than would be clean to all have in one file.
d
dry-kangaroo-89921
05/09/2023, 1:25 PM
Do you maybe have some other repos that showcase some of the best practices in pulumi with typescript?