Technical requirements
In this chapter, we'll see the use of InSpec, which requires Ruby version 2.4 or later to be installed on the local machine. To install Ruby according to your specific operating system (OS), read this documentation: https://www.ruby-lang.org/en/documentation/installation/.
In the Keeping sensitive data safe with HashiCorp Vault section, we'll discuss the integration between Vault and Terraform without looking into the details of Terraform, so I suggest you first read Chapter 2, Provisioning Cloud Infrastructure with Terraform.
The complete source code for this chapter is available here:
https://github.com/PacktPublishing/Learning-DevOps-Second-Edition/tree/main/CHAP14
Check out the following video to see the Code in Action: