terraform/website/source/docs/providers/rabbitmq/r/vhost.html.markdown

642 B

layout page_title sidebar_current description
rabbitmq RabbitMQ: rabbitmq_vhost docs-rabbitmq-resource-vhost Creates and manages a vhost on a RabbitMQ server.

rabbitmq_vhost

The rabbitmq_vhost resource creates and manages a vhost.

Example Usage

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