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
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| target | The module to check. | Label | required |
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