Skip to main content

Module: inspector

This module enables AWS Inspector in one region of one account and optionally enables various rules packages provided by AWS.

Usage

For a complete example, see examples/complete.

For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test.

module "inspector" {
source = "cloudposse/inspector/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"

create_iam_role = true
enabled_rules = ["cis"]
}

Examples

Here is an example of using this module: