I need to make a script to delete my snapshots in my AWS
greater than 7 days.
To make the creation use this script, I hope it helps.
AWS ec2 create-image --no-reboot --instance-id i-131e8e06 --name "SITELINK-BKP-DIARIO-%date:~7,2%-%date:~4,2%-%date:~10,4%" --description "SITELINK-BKP-DIARIO"