» Resource: aws_lambda_provisioned_concurrency_config

Manages a Lambda Provisioned Concurrency Configuration.

» Example Usage

» Alias Name

resource "aws_lambda_provisioned_concurrency_config" "example" {
  function_name                     = aws_lambda_alias.example.function_name
  provisioned_concurrent_executions = 1
  qualifier                         = aws_lambda_alias.example.name
}

» Function Version

resource "aws_lambda_provisioned_concurrency_config" "example" {
  function_name                     = aws_lambda_function.example.function_name
  provisioned_concurrent_executions = 1
  qualifier                         = aws_lambda_function.example.version
}

» Argument Reference

The following arguments are required:

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - Lambda Function name and qualifier separated by a colon (:).

» Timeouts

aws_lambda_provisioned_concurrency_config provides the following Timeouts configuration options:

  • create - (Default 15 minutes) How long to wait for the Lambda Provisioned Concurrency Config to be ready on creation.
  • update - (Default 15 minutes) How long to wait for the Lambda Provisioned Concurrency Config to be ready on update.

» Import

Lambda Provisioned Concurrency Configs can be imported using the function_name and qualifier separated by a colon (:), e.g.

$ terraform import aws_lambda_provisioned_concurrency_config.example my_function:production