The previous chapter started with configuration management, and this chapter continues and concludes the same. In this chapter, apart from configuration management, unit testing and operational validation of environments will be introduced. One of the principles of Infrastructure as Code is that the scripts and environments are unit tested. The operational validation of environments is performed to ensure that the application and environment are not only in desired state but are also ready operationally. Pester was introduced in Chapter 3, DevOps Automation Primer, and it is a primary tool used for the unit testing environment using PowerShell. The operational validation module is used in order to perform the operational validation.
This chapter will continue with the explanation of the scripts needed in order to deploy and configure the environment and application. Toward the end, it will discuss unit testing and the operational...