Creates an AWS Lambda function without an event trigger showcasing configuration options.
terraform init
terraform plan
terraform apply
Note that this example may create resources which cost money. Run terraform destroy
to destroy those resources.
Name | Version |
---|---|
terraform | >= 1.3 |
aws | >= 5.32 |
random | >= 3.5 |
Name | Version |
---|---|
aws | >= 5.32 |
random | >= 3.5 |
Name | Source | Version |
---|---|---|
lambda | ../../ | n/a |
source | ../fixtures | n/a |
Name | Type |
---|---|
random_pet.this | resource |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
region | n/a | string |
"eu-west-1" |
no |
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. |