Spotfleet step scaling for EC2

Hi,

I am looking to create step-in and step out scaling policies for EC2 spotfleet. Gome through the documentation link for documentation but it wasn’t helpful. Does terraform had this functionality?