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).
11/14/2023, 11:49 PM
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.
11/15/2023, 12:32 AM
another thing that solved, is: I have a trigger on the ansible scripts that just re runs them everytime