File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ module "lambda_function" {
3434 create_async_event_config = true
3535 maximum_event_age_in_seconds = 100
3636
37- provisioned_concurrent_executions = 1
38-
3937 attach_policies = true
4038 policies = [
4139 " arn:aws:iam::aws:policy/service-role/AWSLambdaSQSQueueExecutionRole" ,
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ resource "aws_lambda_alias" "no_refresh" {
2727 additional_version_weights = var. routing_additional_version_weights
2828 }
2929 }
30+
31+ lifecycle {
32+ ignore_changes = [function_version ]
33+ }
3034}
3135
3236resource "aws_lambda_alias" "with_refresh" {
@@ -45,10 +49,6 @@ resource "aws_lambda_alias" "with_refresh" {
4549 additional_version_weights = var. routing_additional_version_weights
4650 }
4751 }
48-
49- lifecycle {
50- ignore_changes = [function_version ]
51- }
5252}
5353
5454resource "aws_lambda_function_event_invoke_config" "this" {
You can’t perform that action at this time.
0 commit comments