I am attempting to deploy an application to AWS EBS on Amazon Linux. The application includes a postgres client, so I included the following line in a file .ebextensions/01_install
:
packages:
yum:
postgresql93-devel: []
However, it turned out that this package was outdated, so based on a Stack Overflow answer I changed it to the following:
packages:
yum:
amazon-linux-extras: []
commands:
01_postgres_activate:
command: sudo amazon-linux-extras enable postgresql10
02_postgres_install:
command: sudo yum install -y postgresql-devel`
The issue is, whenever I commit my changes (I am using CodeArtifact) and eb deploy
again, the logs still say that it attempted to yum install postgresql93-devel
and failed, even though my new configuration does not include that anywhere. I even tried rm -rf .ebextensions/
and tried again, and the same thing happened.
Is something not getting cleared out of my config when I am committing and deploying?
Version:
EB CLI 3.20.3 (Python 3.9.2)