title: CodeBuild cannot find the 0.0.0.0/0 destination for the target internet gateway
body: <p>I've been struggling with this for hours. So, I created my VPC, along with 4 different subnets. The first three are attached to a regular Internet Gateway. The last one is attached to a NAT Gateway (with 0.0.0.0/0 as Destination). My CodeBuild project is set to use this VPC and the last subnet. </p>
  
  <p>When I click "Validate VPC Settings" in the CodeBuild Project Environment, I get this warning:</p>
  
  <p>"The VPC with ID <strong>* might not have an internet connection. CodeBuild cannot find the 0.0.0.0/0 destination for the target internet gateway with subnet ID *</strong>."</p>
  
  <p>If I try to run the CodeBuild project, it will timeout because it has no internet access and cannot download sources from CodeCommit...</p>
  
  <p>What am I missing here? The Routing Table for my subnet is attached to the NAT Gateway and the Destination is 0.0.0.0/0, so the error message above doesn't make any sense to me. </p>
  
  <p>Thank you!</p>