hey guys, how would you recommend using pulumi if each service (nextjs, api, etc) has its own github repo? should I create a new repo for all my project's infrastructure, or should i put service-specific infra inside each service repo?
a
adamant-lawyer-19698
05/15/2025, 3:48 AM
It is common for micro services to have individual repositories, one repository per service.
adamant-lawyer-19698
05/15/2025, 3:50 AM
You have an overall infra stack for common resources, and each repository handles service-specific stacks.
d
delightful-flower-9890
05/15/2025, 3:51 AM
ah great, thanks
s
salmon-gold-74709
05/15/2025, 7:19 AM
I would also recommend putting shared modules in a shared repo. For example, Pulumi component resources to create an S3 bucket in a secure way, for use by app service repos. Similar to defining shared Terraform modules