User
Creates a new Google SQL User on a Google SQL User Instance. For more information, see the official documentation, or the JSON API.
Note: All arguments including the username and password will be stored in the raw state as plain-text.
Import
SQL users for MySQL databases can be imported using the project
, instance
, host
and name
, e.g.
$ pulumi import gcp:sql/user:User users my-project/main-instance/my-domain.com/me
Content copied to clipboard
SQL users for PostgreSQL databases can be imported using the project
, instance
and name
, e.g.
$ pulumi import gcp:sql/user:User users my-project/main-instance/me
Content copied to clipboard