This message was deleted.
# general
s
This message was deleted.
1
e
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
Do you maybe have some other repos that showcase some of the best practices in pulumi with typescript?
e
There's a blog post series about best practices https://www.pulumi.com/blog/iac-recommended-practices-code-organization-and-stacks/ which links to some more example repos of how stuff is setup
🙌 1
d
Thank you!