`aws_iam_policy_attachment` creates exclusive attachments, I think it makes more sense to use `aws_iam_role_policy_attachment` in those cases: https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/5ab6ccbd5566cb2e3cdeb0d2cae5ce4950be711c/iam.tf#L226 https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/5ab6ccbd5566cb2e3cdeb0d2cae5ce4950be711c/iam.tf#L238