Skip to content

Latest commit

 

History

History

complete

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Complete example

Creates an AWS Lambda function without an event trigger showcasing configuration options.

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
random >= 3.5

Providers

Name Version
aws >= 5.32
random >= 3.5

Modules

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

Resources

Name Type
random_pet.this resource
aws_region.current data source

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.