# getting-started


10/11/2023, 9:47 AM
Hi, I need to create a secret in aws secret manager with RetainOnDelete=true. (Because if it is not, when do the pulumi destroy, that secret will be scheduled to delete and i can't create a new secret with the same name until deletion is completed.) So, Then i do the pulumi up and pulumi destroy. Then secret will be retained.After that, when i do the pulumi up, it will raised an error by saying that resource is already exists.I need to create the secret if it not exists. How can i do that?