Application Connections

Resource Schema

Required

PropertyDescription
name
String
Connection display name.
application_key
String
Application key from the Automation applications list.
origin
String
HTTPS origin for this connection.

Optional

PropertyDescription
workspace_id
Int64
Workspace that owns this connection.
secret_id
Int64
ID of the credential in the Secret Store, if the connection uses a credential.

Read Only

PropertyDescription
id
Int64
Connection ID.
authentication
Dynamic
Current credential type and placement, without the secret value.
created_at
String
Time the connection was created.
updated_at
String
Time the connection was updated.

Example Resource

resource "files_application_connection" "example_application_connection" {
  name            = "example"
  secret_id       = 1
  application_key = "example"
  origin          = "example"
  workspace_id    = 1
}

Resource Import

This Resource supports importing using the following syntax:

Example Import Command

# Application Connections can be imported by specifying the id.
terraform import files_application_connection.example_application_connection 1

Data Source Schema

Required

PropertyDescription
id
Int64
Connection ID.

Read Only

PropertyDescription
workspace_id
Int64
Workspace that owns this connection.
name
String
Connection display name.
application_key
String
Application key from the Automation applications list.
origin
String
HTTPS origin for this connection.
secret_id
Int64
ID of the credential in the Secret Store, if the connection uses a credential.
authentication
Dynamic
Current credential type and placement, without the secret value.
created_at
String
Time the connection was created.
updated_at
String
Time the connection was updated.

Example Data Source

data "files_application_connection" "example_application_connection" {
  id = 1
}