If you don't want to preserve the root volume when an instance terminates,set to terminate the ebs volume also. To delete an Amazon Elastic Block Store (EBS) volume when terminating an EC2 instance using Terraform, you can utilize the "delete_on_termination" attribute of the root_bloc
Continue Reading...