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
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ This Terraform module is the part of [serverless.tf framework](https://github.co
16
16
## Features
17
17
18
18
- Build dependencies for your Lambda Function and Layer.
19
-
- Support builds locally and in Docker (with or without SSH agent support for private builds).
19
+
- Support builds locally and in Docker (with or without SSH agent support for private builds) for any runtime and architecture supported by AWS Lambda.
20
20
- Create deployment package or deploy existing (previously built package) from local, from S3, from URL, or from AWS ECR repository.
21
21
- Store deployment packages locally or in the S3 bucket.
22
22
- Support almost all features of Lambda resources (function, layer, alias, etc.)
@@ -384,7 +384,7 @@ When `source_path` is set to a list of directories the content of each will be t
384
384
385
385
### Combine various options for extreme flexibility
386
386
387
-
This is the most complete way of creating a deployment package from multiple sources with multiple dependencies. This example is showing some of the available options (see [examples/build-package](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/build-package) for more):
387
+
This is the most complete way of creating a deployment package from multiple sources with multiple dependencies. This example is showing some of the available options (see [examples/build-package](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/build-package)and [examples/runtimes](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/runtimes)for more):
388
388
389
389
```hcl
390
390
source_path = [
@@ -643,6 +643,7 @@ Q4: What does this error mean - `"We currently do not support adding policies fo
643
643
-[Complete](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/complete) - Create Lambda resources in various combinations with all supported features.
644
644
-[Container Image](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/container-image) - Create a Docker image with a platform specified in the Dockerfile (using [docker provider](https://registry.terraform.io/providers/kreuzwerker/docker)), push it to AWS ECR, and create Lambda function from it.
645
645
-[Build and Package](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/build-package) - Build and create deployment packages in various ways.
646
+
-[Runtimes](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/build-package) - Build and create deployment packages for various runtimes (such as Rust, Go, Java).
646
647
-[Alias](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/alias) - Create static and dynamic aliases in various ways.
647
648
-[Deploy](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/deploy) - Complete end-to-end build/update/deploy process using AWS CodeDeploy.
648
649
-[Async Invocations](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/async) - Create Lambda Function with async event configuration (with SQS, SNS, and EventBridge integration).
@@ -660,7 +661,7 @@ Q4: What does this error mean - `"We currently do not support adding policies fo
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
664
+
<!--BEGIN_TF_DOCS-->
664
665
## Requirements
665
666
666
667
| Name | Version |
@@ -904,7 +905,7 @@ No modules.
904
905
| <aname="output_lambda_role_unique_id"></a> [lambda\_role\_unique\_id](#output\_lambda\_role\_unique\_id)| The unique id of the IAM role created for the Lambda Function |
905
906
| <aname="output_local_filename"></a> [local\_filename](#output\_local\_filename)| The filename of zip archive deployed (if deployment was from local) |
906
907
| <aname="output_s3_object"></a> [s3\_object](#output\_s3\_object)| The map with S3 object data of zip archive deployed (if deployment was from S3) |
Copy file name to clipboardExpand all lines: examples/alias/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ $ terraform apply
14
14
15
15
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
16
16
17
-
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
17
+
<!--BEGIN_TF_DOCS-->
18
18
## Requirements
19
19
20
20
| Name | Version |
@@ -83,4 +83,4 @@ No inputs.
83
83
| <aname="output_lambda_role_name"></a> [lambda\_role\_name](#output\_lambda\_role\_name)| The name of the IAM role created for the Lambda Function |
84
84
| <aname="output_local_filename"></a> [local\_filename](#output\_local\_filename)| The filename of zip archive deployed (if deployment was from local) |
85
85
| <aname="output_s3_object"></a> [s3\_object](#output\_s3\_object)| The map with S3 object data of zip archive deployed (if deployment was from S3) |
Copy file name to clipboardExpand all lines: examples/async/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ $ terraform apply
14
14
15
15
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
16
16
17
-
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
17
+
<!--BEGIN_TF_DOCS-->
18
18
## Requirements
19
19
20
20
| Name | Version |
@@ -72,4 +72,4 @@ No inputs.
72
72
| <aname="output_lambda_role_name"></a> [lambda\_role\_name](#output\_lambda\_role\_name)| The name of the IAM role created for the Lambda Function |
73
73
| <aname="output_local_filename"></a> [local\_filename](#output\_local\_filename)| The filename of zip archive deployed (if deployment was from local) |
74
74
| <aname="output_s3_object"></a> [s3\_object](#output\_s3\_object)| The map with S3 object data of zip archive deployed (if deployment was from S3) |
Copy file name to clipboardExpand all lines: examples/build-package/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Configuration in this directory creates deployment packages in a variety of combinations.
4
4
5
+
Look into [Runtimes Examples](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/runtimes) for more ways to build and deploy AWS Lambda Functions using supported runtimes (Rust, Go, Java).
6
+
5
7
## Usage
6
8
7
9
To run this example you need to execute:
@@ -14,7 +16,7 @@ $ terraform apply
14
16
15
17
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
16
18
17
-
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
Copy file name to clipboardExpand all lines: examples/code-signing/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ $ terraform apply
14
14
15
15
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
16
16
17
-
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
17
+
<!--BEGIN_TF_DOCS-->
18
18
## Requirements
19
19
20
20
| Name | Version |
@@ -59,4 +59,4 @@ No inputs.
59
59
| <aname="output_lambda_function_invoke_arn"></a> [lambda\_function\_invoke\_arn](#output\_lambda\_function\_invoke\_arn)| The Invoke ARN of the Lambda Function |
60
60
| <aname="output_lambda_function_signing_job_arn"></a> [lambda\_function\_signing\_job\_arn](#output\_lambda\_function\_signing\_job\_arn)| ARN of the signing job |
61
61
| <aname="output_lambda_function_signing_profile_version_arn"></a> [lambda\_function\_signing\_profile\_version\_arn](#output\_lambda\_function\_signing\_profile\_version\_arn)| ARN of the signing profile version |
Copy file name to clipboardExpand all lines: examples/complete/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ $ terraform apply
15
15
16
16
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
17
17
18
-
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
18
+
<!--BEGIN_TF_DOCS-->
19
19
## Requirements
20
20
21
21
| Name | Version |
@@ -92,4 +92,4 @@ No inputs.
92
92
| <aname="output_lambda_role_name"></a> [lambda\_role\_name](#output\_lambda\_role\_name)| The name of the IAM role created for the Lambda Function |
93
93
| <aname="output_local_filename"></a> [local\_filename](#output\_local\_filename)| The filename of zip archive deployed (if deployment was from local) |
94
94
| <aname="output_s3_object"></a> [s3\_object](#output\_s3\_object)| The map with S3 object data of zip archive deployed (if deployment was from S3) |
Copy file name to clipboardExpand all lines: examples/deploy/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ $ terraform apply
14
14
15
15
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
16
16
17
-
<!--BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK-->
17
+
<!--BEGIN_TF_DOCS-->
18
18
## Requirements
19
19
20
20
| Name | Version |
@@ -63,4 +63,4 @@ No inputs.
63
63
| <aname="output_codedeploy_iam_role_name"></a> [codedeploy\_iam\_role\_name](#output\_codedeploy\_iam\_role\_name)| Name of IAM role used by CodeDeploy |
64
64
| <aname="output_deploy_script"></a> [deploy\_script](#output\_deploy\_script)| Path to a deployment script |
|[aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones)| data source |
54
+
|[aws_organizations_organization.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/organizations_organization)| data source |
55
+
56
+
## Inputs
57
+
58
+
No inputs.
59
+
60
+
## Outputs
61
+
62
+
| Name | Description |
63
+
|------|-------------|
64
+
| <aname="output_lambda_event_source_mapping_function_arn"></a> [lambda\_event\_source\_mapping\_function\_arn](#output\_lambda\_event\_source\_mapping\_function\_arn)| The the ARN of the Lambda function the event source mapping is sending events to |
65
+
| <aname="output_lambda_event_source_mapping_state"></a> [lambda\_event\_source\_mapping\_state](#output\_lambda\_event\_source\_mapping\_state)| The state of the event source mapping |
66
+
| <aname="output_lambda_event_source_mapping_state_transition_reason"></a> [lambda\_event\_source\_mapping\_state\_transition\_reason](#output\_lambda\_event\_source\_mapping\_state\_transition\_reason)| The reason the event source mapping is in its current state |
67
+
| <aname="output_lambda_event_source_mapping_uuid"></a> [lambda\_event\_source\_mapping\_uuid](#output\_lambda\_event\_source\_mapping\_uuid)| The UUID of the created event source mapping |
68
+
| <aname="output_lambda_function_arn"></a> [lambda\_function\_arn](#output\_lambda\_function\_arn)| The ARN of the Lambda Function |
69
+
| <aname="output_lambda_function_arn_static"></a> [lambda\_function\_arn\_static](#output\_lambda\_function\_arn\_static)| The static ARN of the Lambda Function. Use this to avoid cycle errors between resources (e.g., Step Functions) |
70
+
| <aname="output_lambda_function_invoke_arn"></a> [lambda\_function\_invoke\_arn](#output\_lambda\_function\_invoke\_arn)| The Invoke ARN of the Lambda Function |
71
+
| <aname="output_lambda_function_kms_key_arn"></a> [lambda\_function\_kms\_key\_arn](#output\_lambda\_function\_kms\_key\_arn)| The ARN for the KMS encryption key of Lambda Function |
72
+
| <aname="output_lambda_function_last_modified"></a> [lambda\_function\_last\_modified](#output\_lambda\_function\_last\_modified)| The date Lambda Function resource was last modified |
73
+
| <aname="output_lambda_function_name"></a> [lambda\_function\_name](#output\_lambda\_function\_name)| The name of the Lambda Function |
74
+
| <aname="output_lambda_function_qualified_arn"></a> [lambda\_function\_qualified\_arn](#output\_lambda\_function\_qualified\_arn)| The ARN identifying your Lambda Function Version |
75
+
| <aname="output_lambda_function_source_code_hash"></a> [lambda\_function\_source\_code\_hash](#output\_lambda\_function\_source\_code\_hash)| Base64-encoded representation of raw SHA-256 sum of the zip file |
76
+
| <aname="output_lambda_function_source_code_size"></a> [lambda\_function\_source\_code\_size](#output\_lambda\_function\_source\_code\_size)| The size in bytes of the function .zip file |
77
+
| <aname="output_lambda_function_version"></a> [lambda\_function\_version](#output\_lambda\_function\_version)| Latest published version of Lambda Function |
0 commit comments