Section 3 - Clean Up
After completing the above steps you should tear down all the resources created. This saves the business money and helps prevent floating resources.
To roll back, do the following.
- You need to disassociate the PIP Azure Firewall created from the firewall
Azure Firewall disassociate PIP
- If you ran the labs-azure-resource from your local machine, you have a local statefile. Execute the command below to tear the resources in your resource group
terraform destroy
❗️Make sure your account is still set to the DTS-SHAREDSERVICES-SBOX
subscription as described in Step 1
above
If you used the CI/CD pipeline then you can
destroy
via the devops pipeline or simply remove the terraform resource and commit.For all the other PR’s created, create a new one removing only the parts you modified as part of this exercise, commit, review plans and then merge
Verify that all the resources no longer exist.
This page was last reviewed on 4 August 2023.
It needs to be reviewed again on 4 October 2023
by the page owner platops-build-notices
.
This page was set to be reviewed before 4 October 2023
by the page owner platops-build-notices.
This might mean the content is out of date.