Registering RDS instance with CloudMap

Hi guys,

Does anyone know if it is possible and how to register an RDS instance with a CloudMap Service using Terraform please?

I know this is possible through the AWS CLI and Console as I have done it like this but I would now need to do it in Terraform. I would like to execute the equivalent of the CLI command as aws servicediscovery register-instance.

Pointing to any documentation or examples that can be shared would be most benifitial and appreciated.