athena-destroy
Command that destroys Athena environment.
Usage
athena-destroy [OPTIONS]
Option | Description |
---|---|
-b, –backup-age |
Last backup age in seconds to not backup environment before destroying. |
–destroy-rds / -r | Destroy RDS instances in AWS. |
-h, –help | Show built-in help documentation. |
–remove-data/–do-not-remove-data | Should $ANSIBLE_DATA contents and environment keys be deleted. |
-v, –verbose | Enable verbose output. |
Extending
To modify destroy operations edit destroy.yml
in environment playbook directory.
Examples
To destroy current environment:
athena-destroy
To destroy current environment, but keep RDS instances and don’t backup if backup less than 3600 seconds old:
athena-destroy -r -b 3600