-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
presently the action group policy creates a policy with a wrong action, should be lambda:InvokeFunction
resource "aws_iam_role_policy" "action_group_policy" { count = var.create_ag ? 1 : 0 policy = jsonencode({ Version = "2012-10-17" Statement = [ { Effect = "Allow" **Action = "lambda:InvokeModel"** Resource = concat([var.lambda_action_group_executor], var.action_group_lambda_arns_list) } ] }) role = aws_iam_role.agent_role[0].id }
the terafform is able to create the policy but the console will error :
Invalid Action: The action lambda:InvokeModel does not exist.
when trying to modify it locally.
Metadata
Metadata
Assignees
Labels
No labels