Updated prowler-codebuild-role name for CFN StackSets name length limit @varunirv

Updated prowler-codebuild-role name for CFN StackSets name length limit @varunirv
This commit is contained in:
Toni de la Fuente
2021-08-18 20:29:17 +02:00
committed by GitHub

View File

@@ -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'
Value: !Ref 'ArtifactBucket'