Skip to content

Commit b70ca47

Browse files
committed
Updating docs (#112)
1 parent fcda2d9 commit b70ca47

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/data-sources/file.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ data "archive_file" "lambda_my_function" {
7171

7272
- `excludes` (Set of String) Specify files to ignore when reading the `source_dir`.
7373
- `output_file_mode` (String) String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior.
74-
- `source` (Block Set) Specifies attributes of a single source file to include into the archive. (see [below for nested schema](#nestedblock--source))
75-
- `source_content` (String) Add only this content to the archive with `source_content_filename` as the filename.
76-
- `source_content_filename` (String) Set this as the filename when using `source_content`.
77-
- `source_dir` (String) Package entire contents of this directory into the archive.
78-
- `source_file` (String) Package this file into the archive.
74+
- `source` (Block Set) Specifies attributes of a single source file to include into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. (see [below for nested schema](#nestedblock--source))
75+
- `source_content` (String) Add only this content to the archive with `source_content_filename` as the filename. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
76+
- `source_content_filename` (String) Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
77+
- `source_dir` (String) Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
78+
- `source_file` (String) Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
7979

8080
### Read-Only
8181

docs/resources/file.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ description: |-
2424

2525
- `excludes` (Set of String) Specify files to ignore when reading the `source_dir`.
2626
- `output_file_mode` (String) String that specifies the octal file mode for all archived files. For example: `"0666"`. Setting this will ensure that cross platform usage of this module will not vary the modes of archived files (and ultimately checksums) resulting in more deterministic behavior.
27-
- `source` (Block Set) Specifies attributes of a single source file to include into the archive. (see [below for nested schema](#nestedblock--source))
28-
- `source_content` (String) Add only this content to the archive with `source_content_filename` as the filename.
29-
- `source_content_filename` (String) Set this as the filename when using `source_content`.
30-
- `source_dir` (String) Package entire contents of this directory into the archive.
31-
- `source_file` (String) Package this file into the archive.
27+
- `source` (Block Set) Specifies attributes of a single source file to include into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified. (see [below for nested schema](#nestedblock--source))
28+
- `source_content` (String) Add only this content to the archive with `source_content_filename` as the filename. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
29+
- `source_content_filename` (String) Set this as the filename when using `source_content`. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
30+
- `source_dir` (String) Package entire contents of this directory into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
31+
- `source_file` (String) Package this file into the archive. One and only one of `source`, `source_content_filename` (with `source_content`), `source_file`, or `source_dir` must be specified.
3232

3333
### Read-Only
3434

0 commit comments

Comments
 (0)