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"
}

resource "rabbitmq_user" "test" {
    name = "mctest"
    password = "foobar"
    tags = ["administrator"]
}

resource "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 [email protected]. E.g.

terraform import rabbitmq_permissions.test [email protected]

See the source of this document at Terraform.io