Default routes are used for route table instead of AWS NAT Gateways. AWS NAT Gateways are more scalable than default routes.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table