Hey guys, what's up! I have a question: Any way t...
# google-cloud
l
Hey guys, what's up! I have a question: Any way to do a postgres database instance (using gcp.sql, managed sql service) and initialize it with a script? Or do I have to do it manually? Don't see any documentation here
d
I use the postgres provider for initialising the database: https://www.pulumi.com/registry/packages/postgresql/ You can refer to the docs here for how to connect with cloudsql: https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs#gcp
l
Thanks for the tip! Will try it out later