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 all or specific regions for AWS accounts indicated in the ~/.aws/config file:

  • When you run the script without the region name as an argument, it deletes the resources in all regions for all AWS accounts.

  • When you run the script for a specific region, it deletes the resources in this region for all AWS accounts.

chmod +x ./destroy.sh          # give the execute permission
./destroy.sh                   # destroy in all regions
./destroy.sh <region_name>     # destoy in a specific region

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