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
Copy file name to clipboardExpand all lines: README.md
+30-15Lines changed: 30 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,10 +54,10 @@ module "layer" {
54
54
source_type = "python"
55
55
56
56
rsync_pattern = [
57
-
"--exclude='**tests**'"
58
-
"--exclude="'**__pycache__**'"
59
-
"--include=module/{a,b,c}/"
60
-
"--include='*.py'"
57
+
"--exclude='**tests**'",
58
+
"--exclude='**__pycache__**'",
59
+
"--include=module/{a,b,c}/",
60
+
"--include='*.py'",
61
61
"--exclude='module/*'"
62
62
]
63
63
}
@@ -70,26 +70,41 @@ module "layer" {
70
70
71
71
72
72
73
+
## Requirements
74
+
75
+
| Name | Version |
76
+
|------|---------|
77
+
| terraform |~> 0.12.0 |
78
+
79
+
## Providers
80
+
81
+
| Name | Version |
82
+
|------|---------|
83
+
| archive | n/a |
84
+
| aws | n/a |
85
+
| null | n/a |
86
+
| random | n/a |
87
+
73
88
## Inputs
74
89
75
90
| Name | Description | Type | Default | Required |
76
-
|------|-------------|:----:|:-----:|:-----:|
77
-
|compatible_runtimes| (Optional) A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. | list(string) |`null`| no |
78
-
| description | (Optional) Description of what the Lambda layer does. | string |`null`| no |
79
-
|layer_name| (Required) A unique name for the Lambda Layer. | string |-| yes |
80
-
|package_file| (Optional) The location of the package manager config file. Can be one of (package.json, requirements.txt, Pipfile) | string |`null`| no |
81
-
|rsync_pattern| (Optional) A list of rsync pattern to include or exclude files and directories. | list(string) |`<list>`| no |
82
-
|source_dir| (Optional) The location of the Lamvda layer source code. Requires source_type to be defined. | string |`null`| no |
83
-
|source_type| (Optional) The location of the Lambda layer source type. Can be one of (nodejs, python) | string |`null`| no |
|compatible\_runtimes| (Optional) A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. |`list(string)`|`null`| no |
93
+
| description | (Optional) Description of what the Lambda layer does. |`string`|`null`| no |
94
+
|layer\_name| (Required) A unique name for the Lambda Layer. |`string`|n/a| yes |
95
+
|package\_file| (Optional) The location of the package manager config file. Can be one of (package.json, requirements.txt, Pipfile) |`string`|`null`| no |
96
+
|rsync\_pattern| (Optional) A list of rsync pattern to include or exclude files and directories. |`list(string)`|<pre>[<br> "--include=*"<br>]</pre>| no |
97
+
|source\_dir| (Optional) The location of the Lamvda layer source code. Requires source\_type to be defined. |`string`|`null`| no |
98
+
|source\_type| (Optional) The location of the Lambda layer source type. Can be one of (nodejs, python) |`string`|`null`| no |
84
99
85
100
## Outputs
86
101
87
102
| Name | Description |
88
103
|------|-------------|
89
104
| arn | The Amazon Resource Name (ARN) of the Lambda layer with version. |
90
-
|created_date| The date the layer was created. |
91
-
|layer_arn| The Amazon Resource Name (ARN) of the Lambda layer without version. |
92
-
|source_code_size| The size in bytes of the layer .zip file. |
105
+
|created\_date| The date the layer was created. |
106
+
|layer\_arn| The Amazon Resource Name (ARN) of the Lambda layer without version. |
107
+
|source\_code\_size| The size in bytes of the layer .zip file. |
| Name | Description | Type | Default | Required |
4
-
|------|-------------|:----:|:-----:|:-----:|
5
-
|compatible_runtimes| (Optional) A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. | list(string) |`null`| no |
6
-
| description | (Optional) Description of what the Lambda layer does. | string |`null`| no |
7
-
|layer_name| (Required) A unique name for the Lambda Layer. | string |-| yes |
8
-
|package_file| (Optional) The location of the package manager config file. Can be one of (package.json, requirements.txt, Pipfile) | string |`null`| no |
9
-
|rsync_pattern| (Optional) A list of rsync pattern to include or exclude files and directories. | list(string) |`<list>`| no |
10
-
|source_dir| (Optional) The location of the Lamvda layer source code. Requires source_type to be defined. | string |`null`| no |
11
-
|source_type| (Optional) The location of the Lambda layer source type. Can be one of (nodejs, python) | string |`null`| no |
|compatible\_runtimes| (Optional) A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. |`list(string)`|`null`| no |
21
+
| description | (Optional) Description of what the Lambda layer does. |`string`|`null`| no |
22
+
|layer\_name| (Required) A unique name for the Lambda Layer. |`string`|n/a| yes |
23
+
|package\_file| (Optional) The location of the package manager config file. Can be one of (package.json, requirements.txt, Pipfile) |`string`|`null`| no |
24
+
|rsync\_pattern| (Optional) A list of rsync pattern to include or exclude files and directories. |`list(string)`|<pre>[<br> "--include=*"<br>]</pre>| no |
25
+
|source\_dir| (Optional) The location of the Lamvda layer source code. Requires source\_type to be defined. |`string`|`null`| no |
26
+
|source\_type| (Optional) The location of the Lambda layer source type. Can be one of (nodejs, python) |`string`|`null`| no |
12
27
13
28
## Outputs
14
29
15
30
| Name | Description |
16
31
|------|-------------|
17
32
| arn | The Amazon Resource Name (ARN) of the Lambda layer with version. |
18
-
|created_date| The date the layer was created. |
19
-
|layer_arn| The Amazon Resource Name (ARN) of the Lambda layer without version. |
20
-
|source_code_size| The size in bytes of the layer .zip file. |
33
+
|created\_date| The date the layer was created. |
34
+
|layer\_arn| The Amazon Resource Name (ARN) of the Lambda layer without version. |
35
+
|source\_code\_size| The size in bytes of the layer .zip file. |
0 commit comments