FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

rabbitmq_queue

The rabbitmq_queue resource creates and manages a queue.

Example Usage

resource:
  rabbitmq_vhost:
    test:
      name: test
  rabbitmq_permissions:
    guest:
      user: guest
      vhost: '${rabbitmq_vhost.test.name}'
      permissions:
        configure: '.*'
        write: '.*'
        read: '.*'
  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 name@vhost. E.g.

terraform import rabbitmq_queue.test name@vhost

See the source of this document at Terraform.io