Resize EBS volume of an existing EC2 instance using terraform

How Can I resize or change the size of an EBS volume (50 GB to 100 GB) without losing the data in AWS using terraform . Please help