Skip to content

Commit 751c2e2

Browse files
committed
Add Resource Prefix
1 parent 89a6963 commit 751c2e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

data-collection/deploy/deploy-data-collection.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ Resources:
461461
Type: AWS::IAM::Policy
462462
Condition: NeedDataBucketsKms
463463
Properties:
464-
PolicyName: AwsDataCollectionCrawlerKmsDecryption
464+
PolicyName: !Sub "${ResourcePrefix}AwsDataCollectionCrawlerKmsDecryption"
465465
PolicyDocument:
466466
Version: 2012-10-17
467467
Statement:
@@ -590,7 +590,7 @@ Resources:
590590
Type: AWS::IAM::Policy
591591
Condition: NeedDataBucketsKms
592592
Properties:
593-
PolicyName: AwsDataCollectionInitKmsDecryption
593+
PolicyName: !Sub "${ResourcePrefix}AwsDataCollectionInitKmsDecryption"
594594
PolicyDocument:
595595
Version: 2012-10-17
596596
Statement:
@@ -730,7 +730,7 @@ Resources:
730730
Type: AWS::IAM::Policy
731731
Condition: NeedDataBucketsKms
732732
Properties:
733-
PolicyName: AwsDataCollectionGlueTableKmsDecryption
733+
PolicyName: !Sub "${ResourcePrefix}AwsDataCollectionGlueTableKmsDecryption"
734734
PolicyDocument:
735735
Version: 2012-10-17
736736
Statement:
@@ -918,7 +918,7 @@ Resources:
918918
Type: AWS::IAM::Policy
919919
Condition: NeedDataBucketsKms
920920
Properties:
921-
PolicyName: AwsDataCollectionStepFunctionKmsDecryption
921+
PolicyName: !Sub "${ResourcePrefix}AwsDataCollectionStepFunctionKmsDecryption"
922922
PolicyDocument:
923923
Version: 2012-10-17
924924
Statement:

0 commit comments

Comments
 (0)