File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
9090resource "aws_lambda_permission" "redis_sync_s3_invoke_permission" {
You can’t perform that action at this time.
0 commit comments