This project created for automating process of EC2 AMI`s creation.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "directorEc2",
"Effect": "Allow",
"Action": [
"ec2:DescribeRegions",
"ec2:DescribeInstances",
"ec2:DescribeImages",
"ec2:CreateImage",
"ec2:DescribeSnapshots",
"ec2:DeregisterImage",
"ec2:DeleteSnapshot",
"ec2:CreateSnapshot"
],
"Resource": "*"
}
]
}
pip install requests -t .zip -r ../myDeploymentPackage.zip .
RETENTION- number of daysSLACK_CHANNEL_NAME- name of slack channel where you want to get notificationsSLACK_WEBHOOK_URL- slack web hook URL

