Hey everyone, How do you destroy a stack that has ...
# aws
e
Hey everyone, How do you destroy a stack that has an imported AWS ACM certificate without deleting the certificate?
g
You should be able to accomplish this by setting the
ResourceOptions
property
protect
to true. https://www.pulumi.com/docs/intro/concepts/resources/#protect
c
Protect is great to prevent you accidentally deleting a resource, but it will block the destroy. You will need to delete that resource from state before the destroy
e
Ah perfect @curved-pharmacist-41509 Thanks! @green-stone-37839 I had
protect
set. Jake's recommendation was what I needed