-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate Deleting Environment/Account from TF management #6457
Comments
We are going to create a bash script that can be run locally to automate some of the manual steps required for account deletion. To start with we'll generate a script for each of these stages:
Then next week we aim to bring it together in to one script. To begin with we shall concentrate on the deletion of a single existing environment, e.g. not all the environments for an application. |
New account called |
User Story
As a MP Engineer
I want to automate the steps needed to remove an account from TF management
So that the account deletion process can be quicker and more robust
Value / Purpose
To automate the manual steps required in the Deleting an Environment process.
This process requires many manual steps where you need to delete resources and workspaces in the MP and MP Env repos. If we could automate these it would make the process more efficient.
Useful Contacts
@richgreen-moj
Additional Information
Certain workflows such as Terraform: New environment will re-create accounts/workspaces which you are trying to delete if it runs mid-way through your progress.
Making the process quicker would stop the need for us having to warn others not to merge PRs while we carry out the process.
Proposal / Unknowns
Some steps will not be possible to automate e.g. the actions required as a root user.
Definition of Done
The text was updated successfully, but these errors were encountered: