FEATURES PRICING ABOUT DOCS LOGIN

rabbitmq_queue

The rabbitmq_queue resource creates and manages a queue.

Example Usage

resource "rabbitmq_vhost" "test" {
    name = "test"
}

resource "rabbitmq_permissions" "guest" {
    user = "guest"
    vhost = "${rabbitmq_vhost.test.name}"
    permissions {
        configure = ".*"
        write = ".*"
        read = ".*"
    }
}

resource "rabbitmq_queue" "test" {
    name = "test"
    vhost = "${rabbitmq_permissions.guest.vhost}"
    settings {
        durable = false
        auto_delete = true
    }
}

Argument Reference

The following arguments are supported:

The settings block supports:

Attributes Reference

No further attributes are exported.

Import

Queues can be imported using the id which is composed of [email protected]. E.g.

terraform import rabbitmq_queue.test [email protected]

See the source of this document at Terraform.io

REQUEST A DEMO