Closed rust84 closed 3 years ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
I'm not familiar with Elasticache, but the error:
Cache cluster cluster-name-001 is serving as primary
would seem to imply you need to delete the replica clusters before you delete the primay
Files identified in the description:
plugins/modules/elasticache.py
](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/elasticache.py)If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @alachaum @jillr @jsdalton @markuman @s-hertel @wimnat click here for bot help
Summary
We are trying to delete an Elasticache redis cluster which is part of a replication group. I have tried the following.
We are getting the following error because the cluster is Primary for the replication group. What we would like to achieve is destroying the replication group. I am creating a playbook for destroying and restoring the cluster from a snapshot so need to ensure that the original cluster is cleaned up first. I am reading the docs but cannot see a way to manage the destruction of the replication group as a whole.
Issue Type
Documentation Report
Component Name
elasticache
Ansible Version
Collection Versions
Configuration
OS / Environment
No response
Additional Information
No response
Code of Conduct