0
0
llucycodes42
This defines a permission in rabbitmq_permissions called configure. It allows the user to modify the configuration for the myResourceName resource. The user also has rights to write to the resource, and read it.
Shortcut: tf_rabbitmq_permissions
resource "rabbitmq_permissions" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
user = "${rabbitmq_user.test.name}"
vhost = "${rabbitmq_vhost.test.name}"
permissions {
configure = ".*"
write = ".*"
read = ".*"
}
}