Description
The aws_lambda_capacity_provider resource (introduced in #45332 / v6.24.0) does not currently support the FunctionScalingConfig API, which allows configuring the scaling behavior for Lambda Managed Instances functions.
The FunctionScalingConfig defines the minimum and maximum number of execution environments that can be provisioned for a Lambda Managed Instances function. This configuration is essential for controlling scaling boundaries and cost management.
Affected Resource(s) or Data Source(s)
aws_lambda_function (or potentially a new resource/argument on aws_lambda_capacity_provider)
Potential Terraform Configuration
# Expected/desired configuration:
resource "aws_lambda_function" "example" {
function_name = "my-managed-instance-function"
# ... other configuration ...
scaling_config {
min_execution_environments = 3
max_execution_environments = 100
}
}
References
https://docs.aws.amazon.com/lambda/latest/api/API_FunctionScalingConfig.html
Would you like to implement the enhancement?
No
Description
The aws_lambda_capacity_provider resource (introduced in #45332 / v6.24.0) does not currently support the FunctionScalingConfig API, which allows configuring the scaling behavior for Lambda Managed Instances functions.
The FunctionScalingConfig defines the minimum and maximum number of execution environments that can be provisioned for a Lambda Managed Instances function. This configuration is essential for controlling scaling boundaries and cost management.
Affected Resource(s) or Data Source(s)
aws_lambda_function (or potentially a new resource/argument on aws_lambda_capacity_provider)
Potential Terraform Configuration
References
https://docs.aws.amazon.com/lambda/latest/api/API_FunctionScalingConfig.html
Would you like to implement the enhancement?
No