https://pulumi.com logo
Title
a

average-school-38756

03/09/2021, 9:01 PM
i have an RDS/Aurora cluster set up, and want to create an additional user for the database. i was planning to use the
pulumi_postgresql
provider to connect to the database via the endpoint (using the master credentials) but i'm getting a timeout:
postgresql:index:Role (pg-user):
    error: error detecting capabilities: error PostgreSQL version: dial tcp 10.0.1.136:5432: i/o timeout
That's when i realized that my database is in a VPC, and there is no public endpoint. So how can i use IaC to handle this task?
m

microscopic-dress-1605

03/10/2021, 7:38 AM
You will need a provisioner machine located inside the VPC.
a

average-school-38756

03/11/2021, 5:27 PM
thanks