Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.37 KB

application_icon.md

File metadata and controls

51 lines (38 loc) · 1.37 KB
page_title subcategory description
citrix_application_icon Resource - citrix
CVAD
Resource for managing application icons.

citrix_application_icon (Resource)

Resource for managing application icons.

Example Usage

resource "citrix_application_icon" "example-application-icon" {
  raw_data                    = filebase64("path/to/icon.ico")
}
# Use filebase64 to encode a file's content in base64 format.

Schema

Optional

  • file_path (String) Path to the icon file. Exactly one of raw_data and file_path is required.
  • raw_data (String) Prepare an icon in ICO format and convert its binary raw data to base64 encoding. Use the base64 encoded string as the value of this attribute. Exactly one of raw_data and file_path is required.

Read-Only

  • id (String) GUID identifier of the application icon.

Import

Import is supported using the following syntax:

# Application icon can be imported by specifying the ID
terraform import citrix_application_icon.example-application-icon 1

Generating Raw Data of an icon

To generate in Linux/Mac terminal use the command:

base64 fileName.ico

To generate in Powershell:

[System.Convert]::ToBase64String(Get-Content fileName.ico -Encoding Byte)