This repo contains the terraform code to create the necessary resources in order to be able to update a Security Group's rules based on the IPs of an Autoscaling Group in AWS.
This repo's README file is autogenerated using terraform-docs!
Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the log group are always retained and never expire.
number
7
no
memory_size
Amount of memory in MB your Lambda Function can use at runtime. Defaults to 128
number
128
no
prefix
Prefix all resources with this string
string
"tf-"
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. Defaults to Unreserved Concurrency Limits -1
number
-1
no
tags
The tags to be added to all the resources
map(string)
{}
no
timeout
The amount of time your Lambda Function has to run in seconds. Defaults to 10
number
10
no
vpc_security_group_ids
List of security group ids
list(string)
null
no
vpc_subnet_ids
List of subnet ids
list(string)
null
no
Outputs
Name
Description
this_lambda_cloudwatch_event_rule_arn
The ARN of the Cloudwatch Event Rule
this_lambda_cloudwatch_event_rule_name
The name of the Cloudwatch Event Rule
this_lambda_cloudwatch_log_group_arn
The ARN of the Cloudwatch Log Group
this_lambda_function_arn
The ARN of the Lambda Function
this_lambda_function_invoke_arn
The Invoke ARN of the Lambda Function
this_lambda_function_kms_key_arn
The ARN for the KMS encryption key of Lambda Function
this_lambda_function_last_modified
The date Lambda Function resource was last modified
this_lambda_function_name
The name of the Lambda Function
this_lambda_function_qualified_arn
The ARN identifying your Lambda Function Version
this_lambda_function_source_code_hash
Base64-encoded representation of raw SHA-256 sum of the zip file
this_lambda_function_source_code_size
The size in bytes of the function .zip file
this_lambda_function_version
Latest published version of Lambda Function
this_lambda_role_arn
The ARN of the IAM role created for the Lambda Function
this_lambda_role_name
The name of the IAM role created for the Lambda Function