Default cache cluster for elasticcache
archinksagar opened this issue · comments
When we call create_cache_cluster, an additional cluster ("default") gets created, This is causing problem with our testing.
What is the reason for adding the default cluster? Can that be removed?
moto/moto/elasticache/models.py
Line 157 in cc11930
@jfmainville I think this was added in your PR originally, #6754
Do you remember why you added the default cluster? Is that automatically added in specific regions, or automatically created when a user creates clusters/users?
I've tried this out in AWS, but i can't replicate a scenario where the default
cluster is created automatically.
Indeed, it's an oversight on my end, the default cache_cluster
creation shouldn't be included as part of the Elasticache cache clusters initialization process, I created the MR #7622 to fix this issue.
Fixed as of moto >= 5.0.6.dev30. Thank you for raising this @archinksagar, and thanks again for the fix @jfmainville!