tofu_fmt_test

Rules

Aspects

tofu_fmt_test

load("@rules_terraform//tofu:tofu_fmt_test.bzl", "tofu_fmt_test")

tofu_fmt_test(name, target)

Fails when tofu fmt would change a module's sources.

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
targetThe module to check.Labelrequired

tofu_fmt_aspect

load("@rules_terraform//tofu:tofu_fmt_test.bzl", "tofu_fmt_aspect")

tofu_fmt_aspect()

An aspect for running tofu fmt on targets with Terraform sources.

ASPECT ATTRIBUTES

ATTRIBUTES