Terraform EC2 Classic Instance creation


Good day to everyone.
I am new to Terraform, could someone please let me know how to create an EC2 Classic instance using Terraform code?

I have referred to this link : https://www.terraform.io/docs/providers/aws/r/instance.html
but I guess I still didn’t get a clue.

Any help is appreciated.

I don’t know how new you are to Terraform, but hae you looked at the Getting Started tutorial?

It even mentions EC2 Classic although I don’t know of any use-cases where that would be preferred over VPC deployment.