github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    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  ```