From fe6f1c6438d95e078271473684d61cd2eb25cbcc Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Sat, 7 Dec 2024 15:07:01 -0800 Subject: [PATCH] update libpq in jumphost --- infrastructure/backend/ec2-jumpbox.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infrastructure/backend/ec2-jumpbox.tf b/infrastructure/backend/ec2-jumpbox.tf index 0277a980..88a6267a 100644 --- a/infrastructure/backend/ec2-jumpbox.tf +++ b/infrastructure/backend/ec2-jumpbox.tf @@ -45,11 +45,11 @@ resource "aws_instance" "ec2_instance" { # Script to install postgresql. user_data = < init.log - sudo yum update -y >> init.log 2>&1 & - sudo yum install -y postgresql.x86_64 >> init.log 2>&1 & - echo "Postgres installation done" >> init.log - + echo "Installing postgresql.x86_64 and libpq" > init.log + sudo yum update -y >> init.log 2>&1 + sudo yum install -y postgresql.x86_64 >> init.log 2>&1 + sudo yum install -y postgresql-libs >> init.log 2>&1 + echo "Postgres and libpq installation done" >> init.log EOF }