Skip to content

Commit 8664d0f

Browse files
give codebuild role policy a unique name
1 parent 4b269c5 commit 8664d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cicd/2-cicd/cicd.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Resources:
219219
JavabuilderRolePolicy:
220220
Type: 'AWS::IAM::Policy'
221221
Properties:
222-
PolicyName: root
222+
PolicyName: !Sub "${AWS::StackName}-codebuild-policy"
223223
PolicyDocument:
224224
Version: "2012-10-17"
225225
Statement:

0 commit comments

Comments
 (0)