diff --git a/deploy/stacks/pipeline.py b/deploy/stacks/pipeline.py index c9cdf9061..53dcf943a 100644 --- a/deploy/stacks/pipeline.py +++ b/deploy/stacks/pipeline.py @@ -331,7 +331,6 @@ def set_codebuild_iam_roles(self): iam.ServicePrincipal('codebuild.amazonaws.com'), iam.AccountPrincipal(self.account), ), - managed_policies=[self.baseline_codebuild_policy, self.git_release_policy, self.expanded_codebuild_policy] ) self.expanded_codebuild_policy.attach_to_role(self.git_project_role) self.baseline_codebuild_policy.attach_to_role(self.git_project_role)