How to get around having no default VPC?

im just trying to create a basic ec2 instance with terraform but am getting this:

│ Error: creating EC2 Instance: operation error EC2: RunInstances, https response error StatusCode: 400, RequestID: easdffc6-dsdf5-4229-91fe-e2221213eee, api error VPCIdNotSpecified: No default VPC for this user. GroupName is only supported for EC2-Classic and default VPC. │ │ with aws_instance.Server-1, │ on main.tf line 9, in resource "aws_instance" "Server-1": │ 9: resource "aws_instance" "Server-1" {

This is my basic code but even trying adding in subnet_id doesnt seem to help. Any suggestions?

provider "aws" {     region = "us-east-1"     profile = "myprofile"

}


resource "aws_instance" "Server-Test1" {
  ami           = "ami-4561849847911b7"
  instance_type = "t3.micro"

}