###This script outputs ip addresses available in the aws prod account private subnets. 
#### Same private subnets are used in fargate task and the load balancer if service is not public.
#### Same private subnets are used in lambdas, rds, private api gateway as well.

#####Make file executable
chmod +x aws_prod_subnet_avail.sh

#### Export aws prod profile. Whatever your profile name is.
export AWS_PROFILE=prod

####Run the script
sh aws_prod_subnet_avail.sh
