Skip to content

Commit

Permalink
update libpq in jumphost
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Dec 7, 2024
1 parent f539571 commit fe6f1c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions infrastructure/backend/ec2-jumpbox.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ resource "aws_instance" "ec2_instance" {
# Script to install postgresql.
user_data = <<EOF
#!/bin/bash
echo "Installing postgresql.x86_64" > 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

}
Expand Down

0 comments on commit fe6f1c6

Please sign in to comment.