News for hackers. Stuff that matters.
Re:Terraform Scripting Concepts by danw1979 on Monday January 03, 2022 @08:11AM (#29780407)
“script” seems like absolutely the wrong terminology for something as die-hard-declarative as Terraform.

In my circle of engineers we tend to call it “code” but this isn’t ideal either - implies a general purpose language.

Re:Terraform Scripting Concepts by chenrui on Monday January 03, 2022 @10:27AM (#29781641)
`script` is bad, but `code` is fine. In this case, it is really a DSL language for cloud configurations.
Re:Terraform Scripting Concepts by jk563 on Monday January 03, 2022 @08:27AM (#29780544)
My circle also just use "code" as far as I'm aware, though I tend to think of it as a definition instead. Template would also fit but you can use templates within Terraform so that could be confusing.
Re:Terraform Scripting Concepts by jen20 on Monday January 03, 2022 @08:44AM (#29780695)
The official name for .tf files is a “configuration”, per the code base.
Re:Terraform Scripting Concepts by rch on Monday January 03, 2022 @02:35PM (#29785352)
Which makes sense in the context of managing "configuration as code".

Once configuration is code, i.e. Turing complete, something has gone awry.

Re:Terraform Scripting Concepts by jen20 on Monday January 03, 2022 @03:37PM (#29786470)
Indeed - infrastructure being defined with a declarative model makes perfect sense. One need not use a DSL to achieve that though.
Re:Terraform Scripting Concepts by verdverm on Monday January 03, 2022 @08:23AM (#29780515)
Comprehension, like list comprehension, might be a better term
Re:Terraform Scripting Concepts by chrismaeda on Monday January 03, 2022 @03:07PM (#29785937)
model