terraformterraform-provider-awsterraform-provider-azureterraform-template-fileterraform-provider-gcp

Take Scheduled EBS Snapshots using Cloud Watch and Terraform


I need help for scheduling ec2 volume snapshot on weekly basis and needs to archive\Delete backups older than 1 month using cloud watch rule by terraform aws.

Please guide me for write cloud watch rule using terraform.

regards, Rams


Solution

  • You'll either need to write a Lambda function in your favorite language that does this or wait for AWS Backup Service to be supported in Terraform. Other than the new backup service, there are no native features in AWS or Terraform that can do what you want to do.