From the course: DevOps Tips

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing with infrastructure as code (IaC)

Testing with infrastructure as code (IaC)

From the course: DevOps Tips

Start my 1-month free trial

Testing with infrastructure as code (IaC)

- [Instructor] Infrastructure as code is great for creating resources like networks, servers, databases, and much more. And because you're working with code, you can use techniques like revision control, integration, and testing just like you would with any other code. Let's take a look at each of these steps with a focus on testing. These days, revision control is a requirement for working with code. With the change tracking system, you get all of the benefits of versioning, including branching, tagging, and pull requests. These types of features are next to impossible to implement if you're making changes manually in a web console. Keeping infrastructure code in a repository also plays into integration. Basically, many people work on the same code at the same time and then combine their work. Common software development practices for this step include linting, checking for syntax errors, and validating the code for…

Contents