https://pulumi.com logo
Title
d

damp-honey-93158

11/11/2022, 3:56 PM
Hi, question about Custom vs Component Resources. I'm creating wrapper classes that aggregate cloud resources, should I be using ComponentResource or CustomResource as my super class? The documentation seems to push me towards the ComponentResource - how does a weary programmer decide on such things? 🙂 Thank you!
e

echoing-dinner-19531

11/11/2022, 4:03 PM
Use ComponentResource
CustomResource is for single atomic resources being managed by a resource provider. An S3 bucket, or azure VM for example.
d

damp-honey-93158

11/11/2022, 4:30 PM
Got it ... thank you!