Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit bc0d3a8

Browse files
authored
Merge pull request #11 from bankrate/FP-141
Fp 141 - filename variable optional
2 parents 36f0c61 + 0b451d2 commit bc0d3a8

File tree

25 files changed

+3930
-42
lines changed

25 files changed

+3930
-42
lines changed

.terraform.lock.hcl

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
| <a name="input_env_vars"></a> [env\_vars](#input\_env\_vars) | Environment variables in map(map(string)) | `map(map(string))` | `{}` | no |
5555
| <a name="input_environment"></a> [environment](#input\_environment) | Environment for the resouces | `string` | n/a | yes |
5656
| <a name="input_event_source_arn"></a> [event\_source\_arn](#input\_event\_source\_arn) | value | `string` | `""` | no |
57-
| <a name="input_filename"></a> [filename](#input\_filename) | The path to the function's deployment package within the local filesystem. | `any` | n/a | yes |
57+
| <a name="input_filename"></a> [filename](#input\_filename) | The path to the function's deployment package within the local filesystem. Default is an empty string to satisfy the underlying interface. | `any` | `""` | no |
5858
| <a name="input_handler"></a> [handler](#input\_handler) | The function entrypoint in your code. | `any` | n/a | yes |
5959
| <a name="input_kms_key_arn"></a> [kms\_key\_arn](#input\_kms\_key\_arn) | The Amazon Resource Name (ARN) of the KMS key to decrypt AWS Systems Manager parameters. | `string` | `""` | no |
6060
| <a name="input_layers"></a> [layers](#input\_layers) | List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function. See [Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) | `list(string)` | `[]` | no |

examples/example-with-cloudwatch-scheduled-event/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ data "aws_caller_identity" "current" {}
1010
module "lambda" {
1111
source = "../../"
1212
description = "Example AWS Lambda using go with cloudwatch scheduled event trigger"
13-
filename = "${path.module}/test_function.zip"
1413
name = "tf-example-go-basic"
1514
handler = "example-lambda-func"
15+
filename = ""
1616
runtime = "go1.x"
1717
service = "example"
1818
project = "example"

examples/example-with-cloudwatch-scheduled-event/test_function.zip

Whitespace-only changes.

examples/example-with-dynamo-event/.terraform.lock.hcl

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example-with-dynamo-event/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ data "aws_caller_identity" "current" {}
88

99
module "lambda" {
1010
source = "../../"
11-
description = "Example AWS Lambda using go with cloudwatch scheduled event trigger"
12-
filename = "${path.module}/test_function.zip"
11+
description = "Example AWS Lambda using go with dynamodb event trigger"
1312
name = "tf-example-go-basic"
1413
handler = "example-lambda-func"
1514
runtime = "go1.x"

examples/example-with-dynamo-event/test_function.zip

Whitespace-only changes.

examples/example-with-functionurl/.terraform.lock.hcl

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example-with-functionurl/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ data "aws_caller_identity" "current" {}
1010
module "lambda" {
1111
source = "../../"
1212
description = "Example AWS Lambda using go with functionurl"
13-
filename = "${path.module}/test_function.zip"
1413
name = "tf-example-go-basic"
1514
handler = "example-lambda-func"
1615
runtime = "go1.x"

examples/example-with-kinesis-event/.terraform.lock.hcl

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)