| cloudwatch_log_group_kms_key_id |
The ARN of the KMS Key to use when encrypting log data for Lambda |
string |
null |
no |
| cloudwatch_log_group_retention_in_days |
Specifies the number of days you want to retain log events in log group for Lambda. |
number |
90 |
no |
| cloudwatch_log_group_tags |
Additional tags for the Cloudwatch log group |
map(string) |
{} |
no |
| create |
(Required) Whether to create all resources |
bool |
true |
no |
| create_sns_topic |
(Required) Whether to create new SNS topic |
bool |
true |
no |
| iam_policy_path |
Path of policies to that should be added to IAM role for Lambda Function |
string |
null |
no |
| iam_role_boundary_policy_arn |
The ARN of the policy that is used to set the permissions boundary for the role |
string |
null |
no |
| iam_role_name_prefix |
A unique role name beginning with the specified prefix |
string |
"lambda" |
no |
| iam_role_path |
Path of IAM role to use for Lambda Function |
string |
null |
no |
| iam_role_tags |
Additional tags for the IAM role |
map(string) |
{} |
no |
| kms_key_arn |
ARN of the KMS key used for decrypting slack webhook url |
string |
"" |
no |
| lambda_description |
(Optional) The description of the Lambda function |
string |
null |
no |
| lambda_function_ephemeral_storage_size |
Amount of ephemeral storage (/tmp) in MB your Lambda Function can use at runtime. Valid value between 512 MB to 10,240 MB (10 GB). |
number |
512 |
no |
| lambda_function_name |
(Required) The name of the Lambda function to create |
string |
n/a |
yes |
| lambda_function_s3_bucket |
S3 bucket to store artifacts |
string |
null |
no |
| lambda_function_store_on_s3 |
Whether to store produced artifacts on S3 or locally. |
bool |
false |
no |
| lambda_function_tags |
Additional tags for the Lambda function |
map(string) |
{} |
no |
| lambda_function_vpc_security_group_ids |
List of security group ids when Lambda Function should run in the VPC. |
list(string) |
null |
no |
| lambda_function_vpc_subnet_ids |
List of subnet ids when Lambda Function should run in the VPC. Usually private or intra subnets. |
list(string) |
null |
no |
| lambda_layers |
(Optional) List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function |
list(string) |
[] |
no |
| lambda_role |
(Optional) IAM role attached to the Lambda Function. If this is set then a role will not be created for you. |
string |
"" |
no |
| messenger |
The name of the channel in Slack for notifications |
string |
n/a |
yes |
| recreate_missing_package |
Whether to recreate missing Lambda package if it is missing locally or not |
bool |
false |
no |
| reserved_concurrent_executions |
The amount of reserved concurrent executions for this lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations |
number |
-1 |
no |
| sns_topic_kms_key_id |
ARN of the KMS key used for enabling SSE on the topic |
string |
"" |
no |
| sns_topic_name |
The name of the SNS topic to create |
string |
n/a |
yes |
| sns_topic_tags |
Additional tags for the SNS topic |
map(string) |
{} |
no |
| subscription_filter_policy |
(Optional) A valid filter policy that will be used in the subscription to filter messages seen by the target resource. |
string |
null |
no |
| tags |
A map of tags to add to all resources |
map(string) |
{} |
no |
| webhook_url |
The URL of Slack webhook |
string |
n/a |
yes |