Command: inspect

The turbot inspect command displays summary information about the mod. Navigate to the mod folder that you want to run an inspect on, and run the following command. For example, you want to run an inspect on the aws-chime mod. Navigate to /turbot-v5/turbot-mods/packages/aws-chime, and run:

turbot inspect

The Turbot Guardrails CLI will show the details of the aws-chime mod and it's dependencies:

Turbot mod: tmod:@turbot/aws-chime

Title: @turbot/aws-chime

Resource types:
AWS > Chime
AWS > Chime > Account

Policy types:
AWS > Chime > Account > Active
AWS > Chime > Account > Active > Age
AWS > Chime > Account > Active > Last Modified
AWS > Chime > Account > CMDB
AWS > Chime > Account > Usage
AWS > Chime > Account > Usage > Limit
AWS > Chime > Enabled
AWS > Chime > Permissions

Control types:
AWS > Chime > Account > Active
AWS > Chime > Account > CMDB
AWS > Chime > Account > Discovery
AWS > Chime > Account > Usage

Action types:
AWS > Chime > Account > Delete

Usage

Usage: turbot inspect [options]

This command displays summary information of a mod. This is useful for testing before using them in configurations.

The --dir argument specifies the directory of the root module to use. If a path is not specified, the current working directory is used.

The supported options are:

When writing a nunjuck template to customise the inspect output, the following fields are available in the render context:

For more details of mod structure and mod composition