The task was to delete the aws resources using terraform. I commented the below code. Even plan and apply shows resource is deleted. But the lab is reporting otherwise
Kodekloud Engineer - > terraform lea → Delete EC2 Instance Using Terraform
# Provision EC2 instance
#resource "aws_instance" "ec2" {
# ami = "ami-0c101f26f147fa7fd"
# instance_type = "t2.micro"
# vpc_security_group_ids = [
# "sg-4dc765d10b51e999b"
# ]
# tags = {
# Name = "nautilus-ec2"
# }
#}