File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v3.0.1
3
+ rev : v3.1.0
4
4
hooks :
5
5
- id : check-added-large-files
6
6
args : ['--maxkb=500']
17
17
- id : detect-aws-credentials
18
18
args : ['--allow-missing-credentials']
19
19
- repo : git://github.com/antonbabenko/pre-commit-terraform
20
- rev : v1.30 .0
20
+ rev : v1.31 .0
21
21
hooks :
22
22
- id : terraform_fmt
23
23
- id : terraform_docs
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ module lambda {
80
80
| function\_ name | A unique name for your Lambda Function. | ` string ` | n/a | yes |
81
81
| handler | The function entrypoint in your code. | ` string ` | n/a | yes |
82
82
| lambda\_ timeout | The amount of time your Lambda Function has to run in seconds. Defaults to 5 | ` number ` | ` 5 ` | no |
83
+ | layers | List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function | ` list(string) ` | ` null ` | no |
83
84
| log\_ retention | Specifies the number of days you want to retain log events in the specified log group. | ` number ` | ` 1 ` | no |
84
85
| memory\_ size | Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. | ` number ` | n/a | yes |
85
86
| publish | Whether to publish creation/change as new Lambda Function Version. Defaults to true. | ` bool ` | ` true ` | no |
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ resource aws_iam_role iam {
29
29
EOF
30
30
}
31
31
32
- resource aws_iam_policy trigger_transcoder {
32
+ resource aws_iam_policy this {
33
33
name = format (" %s-trigger-transcoder" , local. full_name )
34
34
description = " Allow to access base resources and trigger transcoder"
35
35
policy = << EOF
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ data archive_file lambda {
8
8
output_path = " lambda_function.zip"
9
9
}
10
10
11
-
12
11
resource aws_iam_role iam {
13
12
name = " iam_for_lambda_tf"
14
13
@@ -29,7 +28,7 @@ resource aws_iam_role iam {
29
28
EOF
30
29
}
31
30
32
- resource aws_iam_policy trigger_transcoder {
31
+ resource aws_iam_policy this {
33
32
name = format (" %s-trigger-transcoder" , local. full_name )
34
33
description = " Allow to access base resources and trigger transcoder"
35
34
policy = << EOF
You can’t perform that action at this time.
0 commit comments