I am experimenting with CodeBuild but have reached a dead-end. My build always fails with the error message:
Build does not have internet connectivity. Please check subnet network configuration.
I checked the VPC configuration (subnet, security groups), and they seem okay. To test internet connectivity, I launched an EC2 instance in the same subnet, and it is able to communicate with external services (I tried a ping and some HTTP GETs).
How do I resolve this 'internet connectivity' issue?