Requests

A Request is a file that should be uploaded by a specific user or group.

Requests can either be manually created and managed, or managed automatically by an Automation.

Resource Schema

Required

PropertyDescription
path
String
Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
destination
String
Destination filename

Optional

PropertyDescription
user_ids
String
A list of user IDs to request the file from. If sent as a string, it should be comma-delimited.
group_ids
String
A list of group IDs to request the file from. If sent as a string, it should be comma-delimited.

Read Only

PropertyDescription
id
Int64
Request ID
source
String
Source filename, if applicable
automation_id
Int64
ID of automation that created request
user_display_name
String
User making the request (if applicable)

Example Resource

resource "files_request" "example_request" {
  path        = "path"
  destination = "destination"
}

Resource Import

This Resource supports importing using the following syntax:

Example Import Command

# Requests can be imported by specifying the id.
terraform import files_request.example_request 1

Data Source Schema

Required

PropertyDescription
id
Int64
Request ID

Read Only

PropertyDescription
path
String
Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
source
String
Source filename, if applicable
destination
String
Destination filename
automation_id
Int64
ID of automation that created request
user_display_name
String
User making the request (if applicable)

Example Data Source

data "files_request" "example_request" {
  id = 1
}