This message was deleted.
# general
s
This message was deleted.
s
Some more context: I want to implement something like “build this AMI using Packer, but if it’s been built in the last three days, don’t bother rebuilding it”, or similar
Ultimately it would be nice to have a DSL around image building that lets them be expressed in the language of choice (inheritance would be really useful for images)
m
The closest thing we have to this at the moment is the dynamic provider, which lets you write resource providers inside your Pulumi program itself. You can see an example of this in @bitter-oil-46081’s github webhooks example: https://github.com/ellismg/github-webhooks-serverless/blob/master/github.ts
s
I was wondering about using that from the stream yesterday. That looks like it should do the trick