Claranet convention for file naming

Hi,

Apparently, Claranet · GitHub is one of those rare collections out there considered as production-ready open source modules.

While reading their Terraform code, I’ve noticed a peculiar naming convention for files using prefixes like r-, locals-, variables- or even d-.

For example, GitHub - claranet/terraform-azurerm-windows-vm: Terraform module composition (feature) for ARM Windows Virtual Machine (VM) hosts files like:

  • variables-naming.tf
  • locals-naming.tf
  • r-naming.tf
  • r-vm.tf
  • r-network.tf

n.b. Claranet modules for Azure heavily use aztfmod/azurecaf provider.

I wonder, is this a well-known Terraform file naming convention and is it documented anywhere?

I couldn’t find any guide on that from Claranet itself.

I have not seen this convention before this example.

Thanks @apparentlymart
I admit, it’s a convincing convention :slight_smile: