Desktop Configuration Profiles

A Desktop Configuration Profile centrally defines desktop mount point mappings for users in a Site or Workspace.

Resource Schema

Required

PropertyDescription
name
String
Profile name
mount_mappings
Dynamic
Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.

Optional

PropertyDescription
workspace_id
Int64
Workspace ID
use_for_all_users
Bool
Whether this profile applies to all users in the Workspace by default
disable_drive_mounting
Bool
Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile

Read Only

PropertyDescription
id
Int64
Desktop Configuration Profile ID

Example Resource

resource "files_desktop_configuration_profile" "example_desktop_configuration_profile" {
  name                   = "North America Desktop Profile"
  mount_mappings         = {
    key = "example value"
  }
  workspace_id           = 1
  use_for_all_users      = false
  disable_drive_mounting = false
}

Resource Import

This Resource supports importing using the following syntax:

Example Import Command

# Desktop Configuration Profiles can be imported by specifying the id.
terraform import files_desktop_configuration_profile.example_desktop_configuration_profile 1

Data Source Schema

Required

PropertyDescription
id
Int64
Desktop Configuration Profile ID

Read Only

PropertyDescription
name
String
Profile name
workspace_id
Int64
Workspace ID
use_for_all_users
Bool
Whether this profile applies to all users in the Workspace by default
disable_drive_mounting
Bool
Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile
mount_mappings
Dynamic
Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.

Example Data Source

data "files_desktop_configuration_profile" "example_desktop_configuration_profile" {
  id = 1
}