Module library

Lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations

Version
Submodules
aliasdeploydocker-build

Charged while it exists

1

These set the floor of the bill. They accrue from the moment they are created, even if nothing uses them.

  • Lambda

    aws_lambda_provisioned_concurrency_config

    Provisioned concurrency is billed per GB-second for as long as it is configured, whether the function is invoked or not — the one Lambda charge that does not go to zero when idle.

Charged by usage

3

These stay near zero until there is traffic, and are the hardest to predict from source alone.

  • CloudWatch Logs

    aws_cloudwatch_log_group

    Per GB ingested, then per GB stored for as long as retention keeps it. Retention set to never expire is the usual surprise.

  • Lambda

    aws_lambda_function

    Requests plus GB-seconds: memory multiplied by execution time. Nothing when it never runs.

  • S3

    aws_s3_object

    Stored GB per month at the bucket's storage class, plus the request that put it there.

No charge

12

These carry no charge of their own, though some of them govern resources that do.

  • aws

    local_file
  • aws

    null_resource
  • aws

    terraform_data
  • IAM

    aws_iam_role
  • IAM

    aws_iam_role_policy
  • IAM

    aws_iam_role_policy_attachment
  • Lambda

    aws_lambda_event_source_mapping
  • Lambda

    aws_lambda_function_event_invoke_config
  • Lambda

    aws_lambda_function_recursion_config
  • Lambda

    aws_lambda_function_url
  • Lambda

    aws_lambda_layer_version
  • Lambda

    aws_lambda_permission