IaC is a software technology that you can use to provision computing resources by defining them in code. You can automatically set up servers, operating systems, virtual machines, network components, and other computing infrastructure by specifying the requirements with infrastructure provisioning languages such as YAML and JSON.
With configuration management, you can automate application installations, settings, updates, and performance monitoring. Configuration management augments IaC by simplifying system deployment and enabling scalability on the cloud.
Read about JSON