AWS security group via terraform

Hi Guys,

I am new to the Terraform world, I tried to add an AWS security group via terraform as below but I am getting errors would you please help me.


I appreciate your feedback in advance.

regards
Ali