terraform-esque module system for pulumi projects #12567
foxydevloper
started this conversation in
Ideas
Replies: 1 comment
-
We have an issue in the pulumi-yaml repo tracking the ability to use yaml to define components: pulumi/pulumi-yaml#210 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Pulumi YAML, and there's no real way to create components like you can in the other runtimes. I could possibly use a compiler, but it doesn't let you use the pulumi yaml lsp, and creating components using yaml compilers is hard because all the resources are in the same namespace. It'd be nice if there were a way to use other Pulumi projects as if they were resources themselves, like:
This would give pulumi yaml a dedicated way to create reusable pulumi components, similar to modules in terraform.
Source could even be remote pulumi projects, just like modules in terraform. This would also make cross-language pulumi components possible, instead of them having to be a class in the native language. It would also allow for testing components easily since you can use them just like normal projects.
Beta Was this translation helpful? Give feedback.
All reactions