Skip to content

Latest commit

 

History

History
102 lines (75 loc) · 2.73 KB

File metadata and controls

102 lines (75 loc) · 2.73 KB
page_title subcategory description
epilot-file_file Data Source - terraform-provider-epilot-file
File DataSource

epilot-file_file (Data Source)

File DataSource

Example Usage

data "epilot-file_file" "my_file" {
  async  = true
  id     = "ef7d985c-2385-44f4-9c71-ae06a52264f8"
  strict = false
}

Schema

Optional

  • async (Boolean) Don't wait for updated entity to become available in Search API. Useful for large migrations
  • strict (Boolean) When passed true, the response will contain only fields that match the schema, with non-matching fields included in __additional

Read-Only

  • access_control (String)
  • acl (Attributes) Access control list (ACL) for an entity. Defines sharing access to external orgs or users. (see below for nested schema)
  • additional (Map of String) Additional fields that are not part of the schema
  • created_at (String)
  • custom_download_url (String) Custom external download url used for the file
  • filename (String)
  • id (String) The ID of this resource.
  • manifest (List of String) Manifest ID used to create/update the entity
  • mime_type (String) MIME type of the file
  • org (String)
  • owners (Attributes List) (see below for nested schema)
  • public_url (String) Direct URL for file (public only if file access control is public-read)
  • purpose (List of String)
  • readable_size (String) Human readable file size
  • s3ref (Attributes) (see below for nested schema)
  • schema (String)
  • size_bytes (Number) File size in bytes
  • source_url (String) Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
  • tags (List of String)
  • title (String)
  • type (String)
  • updated_at (String)
  • versions (Attributes List) (see below for nested schema)

Nested Schema for acl

Read-Only:

  • delete (List of String)
  • edit (List of String)
  • view (List of String)

Nested Schema for owners

Read-Only:

  • org_id (String)
  • user_id (String)

Nested Schema for s3ref

Read-Only:

  • bucket (String)
  • key (String)

Nested Schema for versions

Read-Only:

  • filename (String)
  • mime_type (String)
  • readable_size (String)
  • s3ref (Attributes) (see below for nested schema)
  • size_bytes (Number)

Nested Schema for versions.s3ref

Read-Only:

  • bucket (String)
  • key (String)