Skip to content

Commit 2e089a8

Browse files
author
Nick Tait
committed
Changed "kms:GenerateDataKey" permission to "kms:GenerateDataKey*".
1 parent e207a71 commit 2e089a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

samtranslator/policy_templates_data/policy_templates.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@
12551255
{
12561256
"Action": [
12571257
"kms:Encrypt",
1258-
"kms:GenerateDataKey"
1258+
"kms:GenerateDataKey*"
12591259
],
12601260
"Effect": "Allow",
12611261
"Resource": {

tests/translator/output/all_policy_templates.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@
14231423
{
14241424
"Action": [
14251425
"kms:Encrypt",
1426-
"kms:GenerateDataKey"
1426+
"kms:GenerateDataKey*"
14271427
],
14281428
"Effect": "Allow",
14291429
"Resource": {

tests/translator/output/aws-cn/all_policy_templates.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@
14231423
{
14241424
"Action": [
14251425
"kms:Encrypt",
1426-
"kms:GenerateDataKey"
1426+
"kms:GenerateDataKey*"
14271427
],
14281428
"Effect": "Allow",
14291429
"Resource": {

tests/translator/output/aws-us-gov/all_policy_templates.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@
14231423
{
14241424
"Action": [
14251425
"kms:Encrypt",
1426-
"kms:GenerateDataKey"
1426+
"kms:GenerateDataKey*"
14271427
],
14281428
"Effect": "Allow",
14291429
"Resource": {

0 commit comments

Comments
 (0)