Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Deployment with Rails - configuration file in .ebextensions

I have a configuration file in .ebextensions/packages.config.

packages: 
  yum:
    postgresql-devel: []

When I deploy on AWS ElacticBeanstalk, I have this error :

[Instance: i-195762fc Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: [CMD-AppDeploy/AppDeployStage0/EbExtensionPreBuild] command failed with error code 1: Error occurred during build: Yum does not have postgresql-devel available for installation.

If you have an idea of the error I have made, I would be very grateful.

Thank you.

like image 586
KévinL5 Avatar asked Nov 03 '14 19:11

KévinL5


1 Answers

You need to remplace postgresql-devel by postgresql92-devel or postgresql93-devel

like image 50
KévinL5 Avatar answered Sep 28 '22 04:09

KévinL5