yugabyte / terraform-gcp-yugabyte

A Terraform module to deploy and run YugabyteDB on GCP.
Apache License 2.0
5 stars 21 forks source link

Support authentication #21

Open stefandevo opened 3 years ago

stefandevo commented 3 years ago

Is there a way to directly setup authentication for the cluster; As I understand it correctly currently this cluster will be deployed without authentication enabled? So free for everybody to connect (yugabytedb/yugabytedb)

iSignal commented 3 years ago

@stefandevo : You can look into the command line flags described at https://docs.yugabyte.com/latest/secure/enable-authentication/

This terraform provider doesn't support setting additional flags for tserver/master using a terraform variable. You can request this feature. One workaround would be to add the flag manually yourself at https://github.com/yugabyte/utilities/blob/d3c9555f92582609dc82a62a711a253c1c4f9331/common_scripts/create_universe.sh#L160 in your local repo/fork.