github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/mysql/r/user.html.markdown (about) 1 --- 2 layout: "mysql" 3 page_title: "MySQL: mysql_user" 4 sidebar_current: "docs-mysql-resource-user" 5 description: |- 6 Creates and manages a user on a MySQL server. 7 --- 8 9 # mysql\_user 10 11 The ``mysql_user`` resource creates and manages a user on a MySQL 12 server. 13 14 ## Example Usage 15 16 ``` 17 resource "mysql_user" "jdoe" { 18 user = "jdoe" 19 host = "example.com" 20 password = "password" 21 } 22 ``` 23 24 ## Argument Reference 25 26 The following arguments are supported: 27 28 * `user` - (Required) The name of the user. 29 30 * `host` - (Optional) The source host of the user. Defaults to "localhost". 31 32 * `password` - (Optional) The password of the user. The value of this 33 argument is plain-text so make sure to secure where this is defined. 34 35 ## Attributes Reference 36 37 No further attributes are exported.