Run sentinel checks on modules

Hi there,

within the company my team provides various terraform modules which are published tag-based to our private terraform enterprise registry.

Each module is tested via terraform tests.

Within our organization we have some policy sets applied to each workspace.

Now we want to also check whether our modules align with the sentinel policies before releasing a new version.

Can you think of any way to do this?

Thanks a lot :slight_smile:

to anyone interested in this topic, I now did it as follows:

  • create a workspace within TFE
  • run a plan via CLI driven workflow within a module
  • parse the plan run output and check the sentinel results

Product Manager here, working on module testing workflow enhancements. Would definitely like to chat with you, Sharing my Calendly here: Calendly - Rohan Tripathy