Bundle Notifications

A BundleNotification is an E-Mail sent out to users when certain actions are performed on or within a shared set of files and folders.

Resource Schema

Required

PropertyDescription
bundle_id
Int64
Bundle ID to notify on

Optional

PropertyDescription
notify_on_registration
Bool
Triggers bundle notification when a registration action occurs for it.
notify_on_upload
Bool
Triggers bundle notification when a upload action occurs for it.
notify_user_id
Int64
The id of the user to notify.
user_id
Int64
User ID. Provide a value of 0 to operate the current session's user.

Read Only

PropertyDescription
id
Int64
Bundle Notification ID
notify_current_user
Bool
Is the current user the user to notify?
workspace_id
Int64
Workspace ID. 0 means the default workspace.

Example Resource

resource "files_bundle_notification" "example_bundle_notification" {
  user_id                = 1
  bundle_id              = 1
  notify_user_id         = 1
  notify_on_registration = true
  notify_on_upload       = true
}

Resource Import

This Resource supports importing using the following syntax:

Example Import Command

# Bundle Notifications can be imported by specifying the id.
terraform import files_bundle_notification.example_bundle_notification 1

Data Source Schema

Required

PropertyDescription
id
Int64
Bundle Notification ID

Read Only

PropertyDescription
bundle_id
Int64
Bundle ID to notify on
notify_on_registration
Bool
Triggers bundle notification when a registration action occurs for it.
notify_on_upload
Bool
Triggers bundle notification when a upload action occurs for it.
notify_current_user
Bool
Is the current user the user to notify?
notify_user_id
Int64
The id of the user to notify.
workspace_id
Int64
Workspace ID. 0 means the default workspace.

Example Data Source

data "files_bundle_notification" "example_bundle_notification" {
  id = 1
}