- Install tfenv
brew install tfenv
- Install terraform
tfenv install 1.8.3
- Run commands to apply changes to the terraform configurations
terraform init
terraform apply
- Setup docker environment to install PostgreSQL Client
docker build -t ws -f PostgreSQL.Dockerfile
docker run -it ws
- Run command to connect to PostgreSQL Database
psql --host={db_instance_endpoint} --port={port} --username={username} --password --dbname={database_name}