Drone v1 migration is causing issues with aws postgres connection

Hello,

I’m migrating drone v0.8 to v1 and I’m running into some issue with connecting to our aws postgres db.

The error I’m getting is:
Is the server running on host "diva-api-qa.ca8mz9qw0pnv.us-east-1.rds.amazonaws.com" (10.40.61.132) and accepting TCP/IP connections on port 5432?

Anyone know what the issue is here? Why is it working on v0.8 but not on v1?

This is a database connection error that comes from the low-level Go database driver. It tells us the underlying Go database driver cannot establish a connection to the server. The only way to receive this error is misconfiguration, invalid credentials, firewall issues, networking problems, etc. There is no difference between how 0.8 and 1.0 handles database connections.

I ran both in v0.8 and v1 with the same configurations but one passes and the other fails. Really confused here

Did you run these on the same server? are you sure the IAM permissions are correct to allow database access? the firewall rules grant access to the server? Did you check to make sure you are using the correct 1.0 environment variables (many changed).

The error message indicates it cannot connect to the database at the IP address and port. This typically points to a networking issue of some sort.