Linking an existing Amazon Lightsail High-Availability database to Plesk (lightsail instance)

Posting this in case it helps someone else as well:

I’m trying to link an existing amazon lightsail high-availability MySQL instance to a Plesk (v17.8.11) instance (located in the same region and AZ).

Going to Tools & Settings-> Database Servers -> I’m adding the database server instance, however it fails with:

“Error: php_network_getaddresses: getaddrinfo failed: Name or service not known”