Skip to content
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

Use AZ CLI to clean up Terraform nightly deployments #640

Closed
brooke-hamilton opened this issue Feb 9, 2022 · 0 comments · Fixed by #642
Closed

Use AZ CLI to clean up Terraform nightly deployments #640

brooke-hamilton opened this issue Feb 9, 2022 · 0 comments · Fixed by #642
Assignees
Labels
core New feature or request dev-automation Related to automating builds, the development container, and improving the developer experience. Quick win

Comments

@brooke-hamilton
Copy link
Contributor

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 than terraform 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 nightly Terraform deployments use AZ CLI commands to clean up deployed resources.
@brooke-hamilton brooke-hamilton added core New feature or request dev-automation Related to automating builds, the development container, and improving the developer experience. Quick win labels Feb 9, 2022
@brooke-hamilton brooke-hamilton moved this from Triage to Backlog in Mission Landing Zone 2022 Feb 9, 2022
@glennmusa glennmusa moved this from Backlog to In Progress in Mission Landing Zone 2022 Feb 10, 2022
@glennmusa glennmusa self-assigned this Feb 10, 2022
Repository owner moved this from In Progress to Done in Mission Landing Zone 2022 Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core New feature or request dev-automation Related to automating builds, the development container, and improving the developer experience. Quick win
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants