Create a reusable Terraform plan/apply workflow for MP #6888
Labels
code quality
github-workflow
technical debt
This issue is either technical debt or an issue that will lead to technical debt as time goes by.
terraform
Pull requests that update Terraform code
User Story
As an MP Engineer
I want to create a reusable Terraform plan/apply workflow for MP
So that the many Terraform workflows in the MP repo are easier to maintain going forward
Value / Purpose
Currently we have a number of workflows that run Terraform for the various elements of the platform. Whilst we do have some modular elements e.g. reusable bash scripts for terraform init/plan/apply, if we want to add further steps to the deployment process (for example; extra testing etc) several workflows would require editing rather than just making one change and having it as an optional step on a reusable workflow.
Essentially this story is to look at replicating the reusable TF workflow used in the MP Environments repo and make it work for MP
Once we have this in place it would be easier to customise our deployment process adding features like;
Useful Contacts
No response
Additional Information
#6388 - This story was dreamed up as a result of this spike where we discussed having the ability to post TF plans into PRs or have extra testing steps that issue warnings if certain resources are being deleted.
Proposal / Unknowns
No response
Definition of Done
The text was updated successfully, but these errors were encountered: