Ensure that NAT gateway is not associated in a private subnet

Don't define NAT gateway in the private subnet, to avoid the risk of exposing the private subnet to the internet