Skip to content

Commit

Permalink
fix(iam): add back some of the kinesis iam
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Jan 2, 2025
1 parent e199c8a commit aafb463
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions infrastructure/user-list-search/lambda_codedeploy.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resource "aws_iam_role" "lambda_codedeploy_role" {
name = "${local.prefix}-LambdaCodeDeployRole"
assume_role_policy = data.aws_iam_policy_document.codedeploy_assume_role.json
}


resource "aws_iam_role_policy_attachment" "lambda_codedeploy_role" {
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSCodeDeployRoleForLambda"
#Depending on the service there are different types.
role = aws_iam_role.lambda_codedeploy_role.name
}

0 comments on commit aafb463

Please sign in to comment.