What is IaC
Infrastructure as Code (IaC) is a technique used to manage and procure hardware/software resources as a versioned code base, that can be scripted.
With the popularity of the cloud, hardware resources can be viewed as a software component, and with the help of APIs, you can procure the resources needed for your application. Cloud providers keep pool of hardware resources, and when an API call is made to provision a resource, a required capacity is made available from these pools of resources.
Cloud providers keep pools of resources in their data centers across the globe and allow you to manage these resources through their APIs, so you can request or release a resource at any point in time and pay only for what you have used. Therefore, you need automation to manage these resources for you, and this automation is done through scripts, which need configuration to configure the resources as per your need. Versioning of these infrastructure provisioning scripts is known...