From 3df5ee330d7dd48ff86feb37d89aa7c955985c7f Mon Sep 17 00:00:00 2001 From: Rajat Date: Fri, 13 Aug 2021 14:55:12 -0400 Subject: [PATCH] Updated prowler-codebuild-role name This change is to fix the issue as reported at https://github.com/toniblyx/prowler/issues/845 --- util/codebuild/codebuild-prowler-audit-account-cfn.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/codebuild/codebuild-prowler-audit-account-cfn.yaml b/util/codebuild/codebuild-prowler-audit-account-cfn.yaml index 1af61a7a..7cec6636 100644 --- a/util/codebuild/codebuild-prowler-audit-account-cfn.yaml +++ b/util/codebuild/codebuild-prowler-audit-account-cfn.yaml @@ -141,7 +141,7 @@ Resources: - id: W28 reason: "Explicit name is required for this resource to avoid circular dependencies." Properties: - RoleName: !Sub 'prowler-codebuild-role-${ServiceName}-${AWS::StackName}' + RoleName: !Sub 'prowler-codebuild-role' Path: '/service-role/' ManagedPolicyArns: - 'arn:aws:iam::aws:policy/job-function/SupportUser' @@ -341,4 +341,4 @@ Resources: Outputs: ArtifactBucketName: Description: Artifact Bucket Name - Value: !Ref 'ArtifactBucket' \ No newline at end of file + Value: !Ref 'ArtifactBucket'