Files
opentf/website/source/docs/providers/rabbitmq/r/vhost.html.markdown
2017-04-17 13:17:54 +03:00

38 lines
642 B
Markdown

---
layout: "rabbitmq"
page_title: "RabbitMQ: rabbitmq_vhost"
sidebar_current: "docs-rabbitmq-resource-vhost"
description: |-
Creates and manages a vhost on a RabbitMQ server.
---
# rabbitmq\_vhost
The ``rabbitmq_vhost`` resource creates and manages a vhost.
## Example Usage
```hcl
resource "rabbitmq_vhost" "my_vhost" {
name = "my_vhost"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the vhost.
## Attributes Reference
No further attributes are exported.
## Import
Vhosts can be imported using the `name`, e.g.
```
terraform import rabbitmq_vhost.my_vhost my_vhost
```