This script is used to check each AMI id listed in DeepSecurity CloudFormation Template
exists or not.
It can also validate CloudFormation template format.
- Python boto3 AWS SDK
pip install boto3 --user
- Have your AWS API credential in ~/.aws/credentials
[default]
aws_access_key_id = AKIAIVRP2MQYMPXXXXXX
aws_secret_access_key = tj+ikes3Jm6OEbsDTv3F6eip2aJPh1RVjiwemrXXXX
- Clone this repo
- Execute script to check, default will check DeepSecurity CloudFormation
Template
, you can modifyAMI_TEMPLATE
to other URL or local file.
python ds-ami-checker.py
- Let
AMI_TEMPLATE
parameter configurable - Load other quick-start templates and find the exact
AMI_TEMPLATE
automatically