GoogleCloudPlatform / terraform-google-alloy-db

Creates an Alloy DB instance
https://registry.terraform.io/modules/GoogleCloudPlatform/alloy-db/google
Apache License 2.0
17 stars 16 forks source link

Default Username/Password #10

Closed elJoeyJojo closed 1 year ago

elJoeyJojo commented 1 year ago

If you omit the optional _cluster_initialuser what are the default credentials? 🤔 seeing as how it's optional I didn't add it and now I'm having issues authenticating. Any idea? Thanks! Great work btw

elJoeyJojo commented 1 year ago

Actually I was able to get the following in the state file

"initial_user": [ { "password": "alloydb-cluster-full", "user": "alloydb-cluster-full" }

However, I can't seem to authenticate 🤔

elJoeyJojo commented 1 year ago

nevermind figured it out, for those who need it:

psql -h X.X.X.X -U alloydb-cluster-full -W postgres