You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Start Available Resources and Operations [operations] -->
95
+
## Available Resources and Operations
96
+
97
+
98
+
<!-- End Available Resources and Operations [operations] -->
99
+
94
100
<!-- Placeholder for Future Speakeasy SDK Sections -->
95
101
96
102
Terraform allows you to use local provider builds by setting a `dev_overrides` block in a configuration file called `.terraformrc`. This block overrides all other configured installation methods.
Copy file name to clipboardExpand all lines: docs/data-sources/file.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,30 @@ File DataSource
14
14
15
15
```terraform
16
16
data "epilot-file_file" "my_file" {
17
-
id = "ef7d985c-2385-44f4-9c71-ae06a52264f8"
17
+
id = "ef7d985c-2385-44f4-9c71-ae06a52264f8"
18
+
strict = true
18
19
}
19
20
```
20
21
21
22
<!-- schema generated by tfplugindocs -->
22
23
## Schema
23
24
25
+
### Optional
26
+
27
+
-`strict` (Boolean) When passed true, the response will contain only fields that match the schema, with non-matching fields included in `__additional`
28
+
24
29
### Read-Only
25
30
26
31
-`access_control` (String) must be one of ["private", "public-read"]
27
-
-`acl` (Attributes) Access control list for file entity (readonly) (see [below for nested schema](#nestedatt--acl))
32
+
-`acl` (Attributes) Access control list (ACL) for an entity. Defines sharing access to external orgs or users. (see [below for nested schema](#nestedatt--acl))
33
+
-`additional` (Map of String) Additional fields that are not part of the schema
28
34
-`created_at` (String)
29
35
-`custom_download_url` (String) Custom external download url used for the file
30
36
-`filename` (String)
31
37
-`id` (String) The ID of this resource.
32
38
-`mime_type` (String) MIME type of the file
33
39
-`org` (String)
40
+
-`owners` (Attributes List) (see [below for nested schema](#nestedatt--owners))
34
41
-`public_url` (String) Direct URL for file (public only if file access control is public-read)
35
42
-`purpose` (List of String)
36
43
-`readable_size` (String) Human readable file size
-`access_control` (String) must be one of ["private", "public-read"]; Default: "private"
35
+
-`acl` (Attributes) Access control list (ACL) for an entity. Defines sharing access to external orgs or users. (see [below for nested schema](#nestedatt--acl))
36
+
-`additional` (Map of String) Additional fields that are not part of the schema
34
37
-`custom_download_url` (String) Custom external download url used for the file
35
38
-`filename` (String)
36
39
-`mime_type` (String) MIME type of the file
37
40
-`purpose` (List of String)
38
41
-`s3ref` (Attributes) (see [below for nested schema](#nestedatt--s3ref))
39
42
-`source_url` (String) Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
43
+
-`strict` (Boolean) When passed true, the response will contain only fields that match the schema, with non-matching fields included in `__additional`. Default: false
40
44
-`tags` (List of String)
41
45
-`title` (String)
42
46
-`type` (String) must be one of ["document", "document_template", "text", "image", "video", "audio", "spreadsheet", "presentation", "font", "archive", "application", "unknown"]
43
47
44
48
### Read-Only
45
49
46
-
-`acl` (Attributes) Access control list for file entity (readonly) (see [below for nested schema](#nestedatt--acl))
47
50
-`created_at` (String)
48
51
-`id` (String) The ID of this resource.
49
52
-`org` (String)
53
+
-`owners` (Attributes List) (see [below for nested schema](#nestedatt--owners))
50
54
-`public_url` (String) Direct URL for file (public only if file access control is public-read)
51
55
-`readable_size` (String) Human readable file size
52
56
-`schema` (String) must be one of ["file"]
53
57
-`size_bytes` (Number) File size in bytes
54
58
-`updated_at` (String)
55
59
-`versions` (Attributes List) (see [below for nested schema](#nestedatt--versions))
0 commit comments