Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogoda committed Aug 23, 2024
1 parent dd75f10 commit 9c2e2bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ This module will deploy a Lambda function. It supports both Zip and Image deploy
- `tags` (map) - A mapping of tags to assign to this lambda function.
- `datadog_log_subscription_arn` - (string) - Log subscription arn for shipping logs to datadog.
- `architectures` - (list) - List of architectures to support for the Lambda function.
- `use_default_security_group` - (bool) - Use the default security group for the Lambda function.
- `vpc_id` - (string) - The VPC ID in which the Lambda runs.

### Zip deployment variables
- `runtime` - (string) - **REQUIRED** - The runtime environment for the Lambda function you are uploading.
Expand Down Expand Up @@ -52,6 +54,8 @@ module "lambda" {
memory_size = 256
lambda_env = "${var.lambda_env}"
architectures = ["x86_64"]
use_default_security_group = true
vpc_id = module.platform_config.config["vpc"]
}
```
Lambda environment variables file:
Expand Down

0 comments on commit 9c2e2bb

Please sign in to comment.