FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

rabbitmq_permissions

The rabbitmq_permissions resource creates and manages a user’s set of permissions.

Example Usage

resource:
  rabbitmq_vhost:
    test:
      name: test
  rabbitmq_user:
    test:
      name: mctest
      password: foobar
      tags:
        - administrator
  rabbitmq_permissions:
    test:
      user: '${rabbitmq_user.test.name}'
      vhost: '${rabbitmq_vhost.test.name}'
      permissions:
        configure: '.*'
        write: '.*'
        read: '.*'

Argument Reference

The following arguments are supported:

The permissions block supports:

Attributes Reference

No further attributes are exported.

Import

Permissions can be imported using the id which is composed of user@vhost. E.g.

terraform import rabbitmq_permissions.test user@vhost

See the source of this document at Terraform.io