cds-snc / notification-planning-core

Project planning for GC Notify Core Team
0 stars 0 forks source link

Automation for Destruction of Dev Environment every week #352

Open ben851 opened 1 month ago

ben851 commented 1 month ago

Description

As a developer/operator of GC Notify I would like a reliable way to destroy the necessary artifacts in an AWS account (enough and not too much), so that I can wipe out an environment and rebuild on top of it.

WHY are we building?

This will ensure that Dev is not in a constant state of mess, and it will provide QA to our Terraform release where we will be able to quickly identify if there are breaking changes to Terraform.

It has been tricky in the past to properly destroy environments, so we need to spend time to refine this destruction processs.

WHAT are we building?

Create a github action that destroys dev every Friday night

VALUE created by our solution

Acceptance Criteria

QA Steps

P0NDER0SA commented 1 month ago

PR: https://github.com/cds-snc/notification-terraform/pull/1333

sastels commented 1 month ago

destroy script created and probably works!

sastels commented 1 month ago

We will break this card into 2

P0NDER0SA commented 1 month ago

This is ready to continue working on it, but with Dev working right now we do not want to spend a full day destroying and rebuilding dev.