Skip to content

core.naming_convention

Enforce the naming convention.

Why

Consistent naming improves module reuse and keeps downstream references simple.

Triggers

  • Any block not following the snake_case naming convention (a-z0-9_)

Example

Bad

resource "aws_s3_bucket" "Foo" {}

Good

resource "aws_s3_bucket" "foo" {}

Configuration

There is currently no configuration flags for that rule, besides the option to enable or disable the rule