Create Virtual Private Cloud (VPC) with following requirements: auto-create subnets should be disabled. Routing mode should be set to regional. No default routes should be created.
Create subnets in your VPC. You must create a 2 subnets in the VPC, first one should be named webapp and second one should be named db. The subnet has a /24 CIDR address range.
Add a route to 0.0.0.0/0 with next hop to Internet Gateway and attach it to your `VPC.
added firewall configuration
terraform init terraform plan terraform fmt -check terraform apply