I have the most basic setup in AWS:
- a publicly accessible RDS instance (PostgreSQL 9.6.6 - same as my development one)
- a CodeBuild project
both in the default VPC.
My application is written in Laravel 5.5 and the buildspec.yml
runs ./artisan migrate --force
at some point and CodeBuild outputs the following error:
[Container] 2018/03/10 19:41:36 Running command php artisan migrate --force
[Illuminate\Database\QueryException]
SQLSTATE[08006] [7] timeout expired (SQL: select * from information_schema.
tables where table_schema = public and table_name = migrations)
[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[08006] [7] timeout expired
[PDOException]
SQLSTATE[08006] [7] timeout expired
Where should I start looking for an error?
86.127.247.14/32
and outbound rule is0.0.0.0/0
– Sectarian