DEV Community

Discussion on: Terraform is not Ansible or Puppet

Collapse
 
melezhik profile image
Alexey Melezhik

As Code (Declarative)

Terraform utilizes HCL (HashiCorp Configuration Language) to define resources. > Defining configuration as code is a paradigm that many have adopted and love

I think you're mixing two concepts here:

  1. configuration as a code

  2. declarative style of configuration management, where a disired state is the only thing which is defined and means to achieve this state are not VS an imperative style configuration management where one defines the process of achieving a desired state. Both styles have pros and cons.

Collapse
 
martezr profile image
Martez Reed

Thanks for mentioning, they are definitely two separate concepts that are often conflated. I'll get the article updated as that was one item that I considered more than once before publishing.

Collapse
 
melezhik profile image
Alexey Melezhik

Yeah, welcome!