@orange-policeman-59119 what's the best example of a native package that's simple but not trivial, ideally something that manages a REST API style resource, and implements all the core functionality (create update delete and diff)?
The typical xyz example is a bit too simple to help beyond the boilerplate imo.
b
billions-judge-9412
02/08/2022, 2:16 PM
I would love to know as well!
o
orange-policeman-59119
02/09/2022, 1:08 AM
I've asked the team, the first that came to mind that's still relatively simple is https://github.com/pulumi/pulumi-command
someone else on the team might weigh in
b
bored-table-20691
02/09/2022, 2:04 AM
Thanks. Command is kinda complex but I'll try and figure it out from there.
o
orange-policeman-59119
02/09/2022, 2:06 AM
a really simple CRUD resource would be a nice sample to have
I found a nice fake REST endpoint generator https://crudcrud.com/, would want to validate it but looks like something approximating this would be useful for showing folks how it works
b
bored-table-20691
02/09/2022, 2:13 AM
Yeah. Another example would be the Label example from the GitHub repo - creating just that resource in a dedicated provider.