We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cfa6f6 commit 7e4c968Copy full SHA for 7e4c968
infra/modules/aws/lambda/main.tf
@@ -42,7 +42,7 @@ resource "aws_lambda_alias" "live" {
42
}
43
44
resource "aws_lambda_provisioned_concurrency_config" "alias_pc_fixed" {
45
- count = local.fixed_mode ? 1 : 0
+ count = local.fixed_mode && local.pc_fixed_count > 0 ? 1 : 0
46
47
function_name = aws_lambda_function.lambda.function_name
48
qualifier = aws_lambda_alias.live.name
0 commit comments