Uninstall the connector
To uninstall the connector, you can either run terraform destroy or have the resources destroyed automatically by the destroy.sh script.
We recommend using the script, which automatically deletes all AWS components that are used for the connector.
The script supports destroying resources in either:
- 
all profiles and default regions indicated in the ~/.aws/configfile
- 
a specific account and region 
The logs are stored in the terraform-destroy.txt file.
Run ./destroy.sh <aws_profile> <region_name> for a specific profile and region. For example, ./destroy.sh <aws_profile> us-east-1 will uninstall the connector to the us-east-1 region for a specific AWS profile.
The script does the following:
- 
Deletes the S3 bucket for the acme_accounts.yamlfile and source code files in the specified region.
- 
Executes terraform destroy.
Run ./destroy.sh.
The script uninstalls the connector for all AWS profiles and default regions noted in the ~/.aws/config file.
The script does the following:
- 
Deletes the S3 bucket for the acme_accounts.yamlfile and source code files in a region.
- 
Executes terraform destroy.