02/07/2023, 10:14 AM
Hello community, I have a question and I hope you guys can point me in the right direction. I create and update a VM template on Google Cloud via Pulumi. It works fine. Now I need to keep the last three versions of the template but Pulumi will automatically replace the old one. Is there a way to do this out-of-the-box? . The closest thing I've found so far in the documentation is "retainOnDelete", but it doesn't work for me. Any thoughts? Thanks a lot in advance.
Hold on, I think I got it working. But weird thing: the only difference is that I removed a comment above the property "retainOnDelete".