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/config file

  • a specific account and region

The logs are stored in the terraform-destroy.txt file.

  • Specific AWS profile and region

  • All AWS profiles and default regions

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:

  1. Deletes the S3 bucket for the acme_accounts.yaml file and source code files in the specified region.

  2. 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:

  1. Deletes the S3 bucket for the acme_accounts.yaml file and source code files in a region.

  2. Executes terraform destroy.