Use AZ CLI to clean up Terraform nightly deployments #640
Labels
core
New feature or request
dev-automation
Related to automating builds, the development container, and improving the developer experience.
⚡
Quick win
Benefit/Result/Outcome
So that nightly deployments of Terraform run with fewer spurious errors.
Description
The nightly Terraform build is often failing due to errors running the
terraform destroy
command. The errors are due to either issues in the Azure RM provider for Terraform, Terraform itself, or Azure. The errors are not related to Mission Landing Zone code, so rather than try to fix them we can use AZ CLI commands to clean up the build artifacts rather thanterraform destroy
.Refer to the Bicep cleanup instructions for how to delete all MLZ resources using the AZ CLI.
This is related to #609
Acceptance Criteria
The text was updated successfully, but these errors were encountered: