Closed stefaniuk closed 1 year ago
I would vote for infrastructure. It is the most descriptive and most portable name. Failing that iac although like infra that too feels a bit lazy. I would vote down terraform because that feels too opinionated about the choice of tech and as you say where would you store code that relates to the infrastructure that is not written in terraform.
I'd vote for infrastructure. A generic name seems like the right name it also leaves space for projects to add additional subdivisions of IoC technologies.
Terraform is our tool of choice for IaC.
Some common directory names for IaC are:
terraform
: This name clearly communicates what's the content of the directory and that the code is written in Terraform. However, it's less descriptive about the nature of the content, i.e. that it's infrastructure code.infrastructure
: This alternative name is more broad, it indicates that the contained code is for managing infrastructure. It describes the intent. On a larger projects not all IaC is Terraform. It is usually accompanied by OCI image definitions, Kubernetes deployment scripts, Python and shell scripts as a glue code.infra
: Shorten version of the above but it just feels lazy.iac
: Not very common at all but still an option.