Skip to content

aws-scan-instances

Use AWS CLI to inventory existing instances, add to DRP

Uses AWS CLI content to scan AWS inventory and find instances that do not exist in Digital Rebar. Then create machines with information for the unregistered machines.

Operational Note: the range of AWS infrastructure that can be discovered is limited by the API key and region used when this is called.

When detecting drift (machines in AWS that are not known to Digital Rebar), scan will raise an aws.drift.[cluster name] event with the created machine ID and AWS instance ID.

Designed to work with the awscli-runner context