github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/rabbitmq/r/user.html.markdown (about) 1 --- 2 layout: "rabbitmq" 3 page_title: "RabbitMQ: rabbitmq_user" 4 sidebar_current: "docs-rabbitmq-resource-user" 5 description: |- 6 Creates and manages a user on a RabbitMQ server. 7 --- 8 9 # rabbitmq\_user 10 11 The ``rabbitmq_user`` resource creates and manages a user. 12 13 ## Example Usage 14 15 ``` 16 resource "rabbitmq_user" "test" { 17 name = "mctest" 18 password = "foobar" 19 tags = ["administrator", "management"] 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `name` - (Required) The name of the user. 28 29 * `password` - (Required) The password of the user. The value of this argument 30 is plain-text so make sure to secure where this is defined. 31 32 * `tags` - (Required) Which permission model to apply to the user. Valid 33 options are: management, policymaker, monitoring, and administrator. 34 35 ## Attributes Reference 36 37 No further attributes are exported. 38 39 ## Import 40 41 Users can be imported using the `name`, e.g. 42 43 ``` 44 terraform import rabbitmq_user.test mctest 45 ```