Chapter 9: Managing Infrastructure as Code on Oracle Cloud Infrastructure
Infrastructure as code (IaC) is a term used to reference the ability to turn a script or a template into functioning infrastructure resources. Some tools such as ad hoc scripts require you to specify all necessary commands in an appropriate sequence in order to create the resources for those scripts. In this scenario, the user would be responsible for managing dependencies and the sequence of all command executions. In addition, they would need to create a similar script to remove all the resources.
Configuration management tools provide both IaC and configuration as code (CaC) capabilities. This often allows for a somewhat limited set of infrastructure provisioning capabilities, while yielding significant configuration management capabilities. The concept of idempotency is also important, as tools such as Chef and Puppet will enforce the defined configuration, reverting potentially unwanted manual changes...