Creating AWS Resources with Terraform: AWS Private Resources in VPC

In previous post we created a Custom VPC with a custom route table and public subnets. In general pubic subnets are used to provision Internet facing Instances e.g. web servers. In one AZ we can have public as well as private subnets which are not open to internet connection and can be used for internal processing instance e.g. database or process layer APIs. Below is what…