Hi Everyone! I'm on the process to restructure my ...
# pulumi-cloud
r
Hi Everyone! I'm on the process to restructure my HomeLab from a monolith pulumi project to a micro stack monorepo using NX. Aside of the pulumi cli typescript limitations (https://github.com/pulumi/pulumi/issues/8787) so far, so good. I took this path to reduce the deployment times since i can only deploy the stack that was affected on the PR, so I really happy with the result. The only problem comes with my personal account licence, I needed create an organization for this project so I can group the all micro-stacks under the same parent so the
StackReference
make sense. like
homelab/${microstack}/env
. There is a way to link this Organization to use my personal account licence?
h
hi catriel! i have a very similar setup for my own homelab šŸ™‚ (micro stacks, but no NX yet)
I needed create an organization for this project so I can group the all micro-stacks under the same parent so the
StackReference
make sense.
iā€™m curious what you mean by this. in my case, i have a stack like
parent/env
for my cluster, and the children
app1/env
,
app2/env
, etc. each have a reference to
parent/env
. so at least in my case the org-level grouping wasnā€™t needed, although i could understand why it would be helpful (especially if you have other non-homelab stacks in your account)
r
Hi @hallowed-photographer-31251. I glad to hear that I'm not the only one that uses Pulumi for local environments šŸ˜. Yes, I have another projects on my account and I want keep this isolated because I don't wanna mess the structure adding prefix on every project like
homelab_postgresql
and also there is no way to limit which projects can make a stack reference.
h
re: keeping things isolated, you can add a stack tag to your homelab things. then in UIā€™s stack list thereā€™s a ā€œgroup byā€ menu in the upper left that can help you group those things together.