data-store icon indicating copy to clipboard operation
data-store copied to clipboard

Add script to uninstall a DSS deployment

Open chmreid opened this issue 6 years ago • 0 comments

@kozbo commented on Wed Nov 28 2018

At times it is necessary/useful to delete an installed DSS, and it would be useful/helpful to have a script that does this thoroughly. The primary uses cases are development and test. A single DSS deployment consists of many instances of many elements, including:

Lambda Functions (and associated API Gateway entries)

Step Functions

SNS topics

SQS queues

IAM roles and poiicies

API Gateway Custom Domain Names and associated Route 53 entries

... etc. Attempting to clean-up all these items manually is time consuming and error prone.

A DSS uninstaller seems like something that could(/should?) be provided-by/included-with the HCA DSS per se. I think at one point Brian H. had this setup to that if a DSS was fully deployed using Terraform, it could be completely/thoroughly uninstalled by Terraform. However, I think there has been a lot of refactoring/change since then and I don't know if that capability is still available.

In any case, we currently have multiple DSS deployments that were not setup using Terraform that will likely need to be uninstalled at some point, and we may have more in the future.


@kozbo commented on Mon Jan 14 2019

Double check that teraform destroy doesn't already do this

chmreid avatar Feb 04 '20 22:02 chmreid