Skip to content

Add script to uninstall a DSS deployment #2714

@chmreid

Description

@chmreid

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions