Hello everybody, I've a Cloudflare origin certific...
# getting-started
c
Hello everybody, I've a Cloudflare origin certificate configured on my Pulumi stack, and it regenerates the certificate every update command, I would like to know if there is a possibility to regenerate the certificate once it's expired (15 years from now).
l
You can add that sort of logic into your code: maybe make the name of the resource be a string that changes every 15 years. When the name changes, the old resource will be deleted and a new one will be created.
If it's regenerating the ceritificate on every update, you have a bug in your code. Nothing should happen on a no-up update.
Maybe you have a property changing based on timestamp, or something like that.
c
hmmmm
interesting
I'll investigate
another thing that solved, is: I have a trigger on the ansible scripts that just re runs them everytime
that worked