Deploy AWS with Rails - configuration file in .ebextensions

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

packages: yum: postgresql-devel: [] 

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

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

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

Thanks.

+5
source share
1 answer

You need to replace postgresql-devel with postgresql92-devel or postgresql93-devel

+9
source

Source: https://habr.com/ru/post/1206116/


All Articles