Procedural vs Declarative Approach
Also: procedural vs declarativeprocedural approachdeclarative approachimperative approach
A procedural (imperative) approach specifies the exact steps to reach a state, while a declarative approach specifies only the desired end state and lets the tool work out how. Ansible is largely procedural, Terraform and Puppet are declarative.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab1
- Day 63 Part 2 Terraform
Procedural vs Declarative ApproachProcedural (imperative) means the engineer defines explicit steps in a specific order; declarative means you define the desired end state and the tool works out the steps. Ansible and Chef are procedural; Terraform and Puppet are declarative.
7:28Approach some tools take a procedural approach to managing infrastructure also called an imperative imperative approach this means that the tool follows explicit steps in a specific order to achieve the desired outcome.
Said 8×