Hello,
I would like to know if pg backend supports master/stand-by configuration. According to the official documentation, we should be able to use postgresql://172.19.0.2:5432,172.19.0.3:5432/somedb?target_session_attrs=read-write
I was able to setup a master/standby cluster with docker-compose but when I run terraform cli i get the following error.
Initializing modules...
Initializing the backend...
╷
│ Error: dial tcp: lookup 172.19.0.2:5432,172.19.0.3:5432: no such host
│
│
Any advice/help is welcome
ref: PostgreSQL: Documentation: 13: 33.1. Database Connection Control Functions