Skip to content

Commit c777ccb

Browse files
remove transcoder name
1 parent cf3a321 commit c777ccb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.0.1
3+
rev: v3.1.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=500']
@@ -17,7 +17,7 @@ repos:
1717
- id: detect-aws-credentials
1818
args: ['--allow-missing-credentials']
1919
- repo: git://github.com/antonbabenko/pre-commit-terraform
20-
rev: v1.30.0
20+
rev: v1.31.0
2121
hooks:
2222
- id: terraform_fmt
2323
- id: terraform_docs

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module lambda {
8080
| function\_name | A unique name for your Lambda Function. | `string` | n/a | yes |
8181
| handler | The function entrypoint in your code. | `string` | n/a | yes |
8282
| 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 |
8384
| log\_retention | Specifies the number of days you want to retain log events in the specified log group. | `number` | `1` | no |
8485
| memory\_size | Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128. | `number` | n/a | yes |
8586
| publish | Whether to publish creation/change as new Lambda Function Version. Defaults to true. | `bool` | `true` | no |

examples/basic/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ resource aws_iam_role iam {
2929
EOF
3030
}
3131

32-
resource aws_iam_policy trigger_transcoder {
32+
resource aws_iam_policy this {
3333
name = format("%s-trigger-transcoder", local.full_name)
3434
description = "Allow to access base resources and trigger transcoder"
3535
policy = <<EOF

examples/tracing/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ data archive_file lambda {
88
output_path = "lambda_function.zip"
99
}
1010

11-
1211
resource aws_iam_role iam {
1312
name = "iam_for_lambda_tf"
1413

@@ -29,7 +28,7 @@ resource aws_iam_role iam {
2928
EOF
3029
}
3130

32-
resource aws_iam_policy trigger_transcoder {
31+
resource aws_iam_policy this {
3332
name = format("%s-trigger-transcoder", local.full_name)
3433
description = "Allow to access base resources and trigger transcoder"
3534
policy = <<EOF

0 commit comments

Comments
 (0)