Hi, i have an ecs service/task running in aws wher...
# help
j
Hi, i have an ecs service/task running in aws where i'm trying to setup/configure lakefs. the instance's security group is setup to be able to talk to the RDS postgres box we have setup. before calling lakefs setup, i set this environment variable as follows:
Copy code
LAKEFS_DATABASE_POSTGRES_CONNECTION_STRING=postgres://<username>:<pwd>@utilitylakefsdbstack-lakefspostgresinstance-4vcjgdnkevtt.ct080u4eyhb5.us-east-1.rds.amazonaws.com:5432/postgres?sslmode=disable
username and pwd are set correctly, i just removed them from what i pasted. the setup command is throwing this error:
Copy code
Failed to setup DB: failed to open KV store: connect failed: failed to connect to `host=utilitylakefsdbstack-lakefspostgresinstance-4vcjgdnkevtt.ct080u4eyhb5.us-east-1.rds.amazonaws.com user=<username> database=postgres`: server error (FATAL: no pg_hba.conf entry for host "10.0.1.31", user "<username>", database "postgres", no encryption (SQLSTATE 28000))
the config.yaml file i'm using also has this
Copy code
database:
  type: "postgres"
am i doing something wrong with the postgres setup?