cyrilgdn / terraform-provider-postgresql

Terraform PostgreSQL provider
https://www.terraform.io/docs/providers/postgresql/
Mozilla Public License 2.0
356 stars 182 forks source link

Zerotrust needs different host name for RDS IAM token request and actual psql connection host #317

Open sichenzhao opened 1 year ago

sichenzhao commented 1 year ago

Hi there,

After setting up zerotrust for the private VPC hosted RDS, we need to provision a public DNS record for the private RDS to access RDS directly through zerotrust systems. For such case, host name for connecting psql and host name for AWS related API calls would need to be different.

It will be great if we provide two host name parameters:

Thanks! Sincerely, Sichen Zhao