Skip to content

Latest commit

 

History

History

with-cloudwatch-logs-subscription

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Example with CloudWatch logs configuration

Creates an AWS Lambda function with CloudWatch logs subscription filters and configured retention time.

usage

terraform init
terraform plan
terraform apply

Note that this example may create resources which cost money. Run terraform destroy to destroy those resources.

Requirements

Name Version
terraform >= 1.3
aws >= 5.32

Providers

No providers.

Modules

Name Source Version
destination_1 ../../ n/a
destination_2 ../../ n/a
lambda ../../ n/a
source ../fixtures n/a

Resources

No resources.

Inputs

Name Description Type Default Required
region n/a string "eu-west-1" no

Outputs

Name Description
arn The Amazon Resource Name (ARN) identifying your Lambda Function.
cloudwatch_log_group_name The name of the CloudWatch log group used by your Lambda function.
function_name The unique name of your Lambda Function.
role_name The name of the IAM role attached to the Lambda Function.