Skip to content

Commit a122ed7

Browse files
committed
publish true
1 parent da02863 commit a122ed7

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

terraform/redis_sync_lambda.tf

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,9 @@ resource "aws_lambda_function" "redis_sync_lambda" {
6969
aws_cloudwatch_log_group.redis_sync_lambda_log_group,
7070
aws_iam_policy.redis_sync_lambda_exec_policy
7171
]
72+
publish = true
7273
}
7374

74-
# resource "aws_lambda_version" "redis_sync_lambda_version" {
75-
# function_name = aws_lambda_function.redis_sync_lambda.function_name
76-
# description = "Automatic version for redis_sync_lambda"
77-
78-
# # This ensures a new version is published when the code or config changes
79-
# lifecycle {
80-
# create_before_destroy = true
81-
# }
82-
# }
83-
8475
# output "redis_sync_lambda_version" {
8576
# value = aws_lambda_version.redis_sync_lambda_version.version
8677
# description = "The published version number of the redis_sync_lambda Lambda function"

0 commit comments

Comments
 (0)