node-redshift
node-redshift copied to clipboard
node-redshift issue
Hi,
I am trying to write a simple node js app using node-redshift package. using the examples here -> https://www.npmjs.com/package/node-redshift but i am not sure how to provide the value for the "host " parameter.
Can someone suggest please
I am getting Error: getaddrinfo ENOTFOUND - surely I am not able to pas correct value for host parameter
host will be something like "my-redshift-cluster.cyzcueaiqkep.us-east-1.redshift.amazonaws.com"
it is the ENDPOINT without the port
You can also parse it out of the JDBC URL