This message was deleted.
# general
s
This message was deleted.
m
Pulumi allows you to create Custom Component Resources that take custom arguments and extend existing components / their properties. You can then package it up using the standards of that languages ecosystem for distribution, and the teams can use your custom / extended resource declarations. • https://www.pulumi.com/docs/intro/concepts/resources/components/https://www.pulumi.com/docs/guides/pulumi-packages/
Pulumi Packages are new, and than the simple case of writing and packaging a Custom Component Resource. Here's an example of a basic Custom Resource Component in Javascript https://github.com/pulumi/examples/blob/master/aws-js-s3-folder-component/s3folder.js
b
@brash-dream-38657 you can use transformations to modify any resource (including a component resource): https://www.pulumi.com/docs/intro/concepts/resources/options/transformations/ What this means in practice is that you can create your own custom abstractions (a component) and expose values via the input arguments, but if you miss anything out, the downstream users can simply import your package and "transform" it as needed
✔️ 1
m
Really good call-out jaxxstorm
b
this is used very often on the helm
chart
resource which is a ComponentResource itself: https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/chart/#chart-with-transformations
b
ah, ok. I think that ‘chart with transformations’ example is exactly what I need. I toyed around with transformations for a bit, but this example will help. Thanks so much!