Skip to content

Commit 56ebd5d

Browse files
authored
chore: add kms:GenerateRandom permission to CI role (#1345)
1 parent aa2bed1 commit 56ebd5d

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

cfn/ESDK-Hierarchy-CI.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,16 @@ Resources:
262262
"arn:aws:kms:*:${AWS::AccountId}:key/${EccP384}",
263263
"arn:aws:kms:*:${AWS::AccountId}:key/${EccP521}"
264264
]
265-
}
265+
},
266+
{
267+
"Effect": "Allow",
268+
"Action": [
269+
"kms:GenerateRandom"
270+
],
271+
"Resource": [
272+
"*"
273+
]
274+
}
266275
]
267276
}
268277
ManagedPolicyName: Hierarchical-GitHub-KMS-Key-Policy

0 commit comments

Comments
 (0)