The Power of using automation and starting to look at the platform as a product is that you can wipe out everything and be sure that you can get back to the same state you were in.
To Test out that Theory, I decided to use the bbl tool to blow the platform off and then rerun the pipeline and get back to this state. Thanks to my good friend Zack Bergquist for pointing me in this direction.
bbl has this very powerful ( I mean, be careful when you run it ) feature that connects to your IAAS using your credentials provided.
A quick execution sample is here:
Notice , I did not delete my DNS zones, bbl and other groups. The only Group I deleted was “c2s” the Resource group that had my Full PCF install. Along with that , I will have to delete the terraform.state file on the container created for this. You could do that on command line via the azure cli or the UI as below Job. It creates a fresh state file.
Basically follow the instructions on the [part 3()] of the blog series to get you there.
Azure” Blog Series :