Setting the file. One moment.
Subchapter 16.35
examples/conversion/step-functions-state-machine-logging-enabled/README.mdMarkdown778 BView on GitHub
step-functions-state-machine-logging-enabled.sentinel
Good
This policy is still a single-resource planned-value check, but it relies on a nested block (logging_configuration) and an allowlist of valid levels. tfpolicy can express that clearly with core::try() and a small local allowlist.
attrs.logging_configuration[0].levelThis relies on the provider exposing logging_configuration in the expected block/list shape. Otherwise, the enforcement intent maps cleanly.