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 7baa785 commit 75fb52cCopy full SHA for 75fb52c
main.tf
@@ -82,7 +82,7 @@ resource "aws_lambda_function" "main" {
82
}
83
84
resource "aws_lambda_provisioned_concurrency_config" "main" {
85
- count = var.provisioned_concurrent_executions == null ? 0 : 1
+ count = var.provisioned_concurrent_executions != null && var.publish ? 1 : 0
86
87
function_name = aws_lambda_function.main.function_name
88
qualifier = aws_lambda_function.main.version
0 commit comments