File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ resource "aws_lambda_function" "default" {
8484 filename = each. value . source_zip != null ? data. local_file . lambda_zip [each . key ]. filename : data. archive_file . lambda_zip [each . key ]. output_path
8585 source_code_hash = each. value . source_zip != null ? sha256 (data. local_file . lambda_zip [each . key ]. content_base64 ) : data. archive_file . lambda_zip [each . key ]. output_base64sha256
8686 publish = true
87+ tags = module. function_label [each . key ]. tags
8788}
8889
8990resource "aws_lambda_permission" "allow_cloudfront" {
@@ -93,4 +94,4 @@ resource "aws_lambda_permission" "allow_cloudfront" {
9394 statement_id = " AllowExecutionFromCloudFront"
9495 action = " lambda:GetFunction"
9596 principal = " edgelambda.amazonaws.com"
96- }
97+ }
You can’t perform that action at this time.
0 commit comments