Hello. Complete noob here. I have an application t...
# getting-started
s
Hello. Complete noob here. I have an application that is organized as follows. Parent repo has two submodules: api and front-end. I am wondering if I can put all of my pulumi code in a separate submodule: infrastructure. If I put all of my pulumi IaC in a separate repo separate from the api I”m deploying to aws, can I still make things work? Or must the pulumi code reside in the same repo/directory as my api? Thanks and sorry for the noob question.
l
This article covers some considerations in answering that question: https://www.pulumi.com/blog/iac-recommended-practices-code-organization-and-stacks/
s
So it is possible to have pulumi control several deploys from a separate repo then? It is not required that it resides in the same repo as the application?
s
@swift-architect-6677 There is no requirement for the Pulumi code to reside in the same repo as the application.
The article linked above provides some additional information as well as some considerations (“food for thought”) about the different approaches you can take (same repo, different repo, etc.).
s
Yeah, I’m familiar with repo management, thx. Thanks for letting me know. Good to know I can keep Pulumi separate from my application. That is important for us. 🙂 Thanks.
s
No problem! Feel free to ask any additional questions, lots of folks (including myself) are happy to help.