Recreate AWS Resource with same name that was deleted

aws

#1

Apologies if this is more of an AWS/CloudFormation issue that SLS, but thought somebody might be able to provide some insight.

In my SLS config, I define a Elasticache cluster resource and provide a ClusterName. Because i’m in development, I want to delete the Elasticache cluster when i’m done so as not to incur unnecessary charges. However, when I perform subsequent deploys, the Elasticache cluster is not created and the deploy succeeds. I was wondering if there was a flag or setting needed to force recreation of the Elasticache cluster if it it was deleted

Thanks,
Adam