Terraform template to enable Snapshot on EBS volumes of Instances created by ASG

This note will explain, how to configure scheduled Snapshot of attached EBS volumes using terraform, Cloudwatch Events with builtin target EC2 CreateSnapshot API. We can use Cloudwatch event to schedule snapshot of EBS volume. For this we need to create Schedule based Cloudwatch Event Rule with Specific Cron expression. Then attach EC2 CreateSnapshot API target…