https://pulumi.com logo
#general
Title
# general
b

billions-lock-80282

07/02/2019, 1:33 PM
Can you create a set of resources that are declared outside of the Project folder? For example. If I have 3 projects, 1 for GKE, EKS and AKS, they all build the infrastructure. But all 3 Projects run the same Helm/K8S setup steps. Rather than duplicating them, can I declare them in a separate folder and call them into the project?
b

broad-football-5123

07/02/2019, 1:41 PM
You can create multiple pulumi projects and reference each other. https://pulumi.io/reference/organizing-stacks-projects/#inter-stack-dependencies
You should also be able to create a component that can be used in each of the projects. That might be the best option.
b

billions-lock-80282

07/02/2019, 1:43 PM
ah thats what I was thinking, yes
I don't want additional stacks/projects
Something I can import
b

broad-football-5123

07/02/2019, 1:44 PM
b

billions-lock-80282

07/02/2019, 1:44 PM
great, thanks. I'll look into this
👍 1