I am using cloudformation template and using autoscaling in it.
I am able to persist my volumes when I delete my stack, but I am not able to attach any tags to my volumes via cloudformation.
Is there any way to do this ?
Or is it possible to create a AWS::EC2::Volume and attach it to autoscaling group in cloudformation. I have also tried this but I am not able to do this.
Basically my objective is whenever an instance is terminated I want to persist the volumes and the volumes must contain tags so that I can identify them.
The following Cloudformation types I am using in my template :
AWS::AutoScaling::LaunchConfiguration
AWS::AutoScaling::AutoScalingGroup
Thanks.