github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/rabbitmq/r/vhost.html.markdown (about) 1 --- 2 layout: "rabbitmq" 3 page_title: "RabbitMQ: rabbitmq_vhost" 4 sidebar_current: "docs-rabbitmq-resource-vhost" 5 description: |- 6 Creates and manages a vhost on a RabbitMQ server. 7 --- 8 9 # rabbitmq\_vhost 10 11 The ``rabbitmq_vhost`` resource creates and manages a vhost. 12 13 ## Example Usage 14 15 ``` 16 resource "rabbitmq_vhost" "my_vhost" { 17 name = "my_vhost" 18 } 19 ``` 20 21 ## Argument Reference 22 23 The following arguments are supported: 24 25 * `name` - (Required) The name of the vhost. 26 27 ## Attributes Reference 28 29 No further attributes are exported. 30 31 ## Import 32 33 Vhosts can be imported using the `name`, e.g. 34 35 ``` 36 terraform import rabbitmq_vhost.my_vhost my_vhost 37 ```