File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ locals {
142142 ])... )
143143
144144 # Filter out the attachments for lambda functions. The ALB target group needs permission to forward a request on to
145- # the specified lambda function. This filtered list is used to create those permission resources
145+ # the specified lambda function. This filtered list is used to create those permission resources.
146+ # To get the lambda_function_name, the 6th index is taken from the lambda_function_arn format below
147+ # arn:aws:lambda:<region>:<account-id>:function:my-function-name:<version-number>
146148 target_group_attachments_lambda = {
147149 for k , v in local . target_group_attachments :
148150 (k) = > merge (v, { lambda_function_name = split (" :" , v. target_id )[6 ] })
You can’t perform that action at this time.
0 commit comments