File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -1416,6 +1416,14 @@ Resources:
14161416 - s3:GetObjectVersion
14171417 Resource :
14181418 - !Sub ${S3Bucket.Arn}/*
1419+ - !If
1420+ - NeedDataBucketsKms
1421+ - Sid : AllowKmsDecrypt
1422+ Effect : " Allow"
1423+ Action :
1424+ - " kms:Decrypt"
1425+ Resource : !Split [ ',', !Ref DataBucketsKmsKeysArns ]
1426+ - !Ref AWS::NoValue
14191427
14201428Outputs :
14211429 Bucket :
@@ -1430,8 +1438,3 @@ Outputs:
14301438 Description : " Access Policy for CID Data Collection"
14311439 Value : !Ref DataCollectionReadAccess
14321440 Export : { Name: "cid-DataCollection-ReadAccessPolicyARN" }
1433- KMSPolicyARN :
1434- Condition : NeedDataBucketsKms
1435- Description : " KMS Policy for CID Data Collection. Attach it to QuickSight role if needed."
1436- Value : !Ref KmsPolicyForStepFunctionRole
1437- Export : { Name: "cid-DataCollection-KMSPolicy" }
You can’t perform that action at this time.
0 commit comments