sparse-intern-71089
07/03/2020, 8:29 AMbillowy-army-68599
CustomResource
would be a good fit here. There's a couple of examples here:
https://github.com/pulumi/examples/search?q=CustomResource&unscoped_q=CustomResource
That might get you startedfaint-motherboard-95438
07/08/2020, 3:24 PMCustomResource
and a ComponentResource
.
I would have expected to have to define some create
, update
and delete
methods to make Pulumi aware on how to manage my resource during up and detect changes ?faint-motherboard-95438
07/09/2020, 2:04 PMCustomResource
I’m looking in, so clearly I’m missing something here. Maybe it doesn’t work as I thought it would and does not fit my needs ?
Could use some quick implementation advices, the pulumi way @echoing-match-29901
Ultimately I need to define a Resource able to run a bunch of REST calls inside the cluster during creation, some others if arguments changes and some if the resource gets deleted. Obviously I need to be able to detect when my custom resource (!= CustomResource
?) changes its state (created, arguments changed, deleted).
Thanks for your help 🙏faint-motherboard-95438
07/09/2020, 5:36 PMfaint-motherboard-95438
07/10/2020, 9:33 AMResourceProvider
to actually use a CustomResource
. That was unclear and certainly not a daily usecase.
For anyone wanting/needing to implement one, here’s the link: https://www.pulumi.com/docs/intro/concepts/programming-model/#dynamicproviders
I’ll start from there, thanks.faint-table-42725
07/10/2020, 6:05 PMfaint-motherboard-95438
07/10/2020, 6:14 PMfaint-table-42725
07/10/2020, 6:16 PMfaint-motherboard-95438
07/10/2020, 6:18 PM