Skip to content

Commit da02863

Browse files
committed
remove version
1 parent 77ea1ff commit da02863

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

terraform/redis_sync_lambda.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,20 @@ resource "aws_lambda_function" "redis_sync_lambda" {
7171
]
7272
}
7373

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-
}
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+
# }
8383

84-
output "redis_sync_lambda_version" {
85-
value = aws_lambda_version.redis_sync_lambda_version.version
86-
description = "The published version number of the redis_sync_lambda Lambda function"
87-
}
84+
# output "redis_sync_lambda_version" {
85+
# value = aws_lambda_version.redis_sync_lambda_version.version
86+
# description = "The published version number of the redis_sync_lambda Lambda function"
87+
# }
8888

8989
# Permission for S3 to invoke Lambda function
9090
resource "aws_lambda_permission" "redis_sync_s3_invoke_permission" {

0 commit comments

Comments
 (0)