hey guys, how would you recommend using pulumi if ...
# general
d
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
It is common for micro services to have individual repositories, one repository per service.
You have an overall infra stack for common resources, and each repository handles service-specific stacks.
d
ah great, thanks
s
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