Skip to content

Commit e207a71

Browse files
author
Nick Tait
committed
Fixed expected data used by tests.
1 parent 78d6101 commit e207a71

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

tests/translator/output/all_policy_templates.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,10 @@
14211421
"PolicyDocument": {
14221422
"Statement": [
14231423
{
1424-
"Action": "kms:Encrypt",
1424+
"Action": [
1425+
"kms:Encrypt",
1426+
"kms:GenerateDataKey"
1427+
],
14251428
"Effect": "Allow",
14261429
"Resource": {
14271430
"Fn::Sub": [

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,10 @@
14211421
"PolicyDocument": {
14221422
"Statement": [
14231423
{
1424-
"Action": "kms:Encrypt",
1424+
"Action": [
1425+
"kms:Encrypt",
1426+
"kms:GenerateDataKey"
1427+
],
14251428
"Effect": "Allow",
14261429
"Resource": {
14271430
"Fn::Sub": [

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,10 @@
14211421
"PolicyDocument": {
14221422
"Statement": [
14231423
{
1424-
"Action": "kms:Encrypt",
1424+
"Action": [
1425+
"kms:Encrypt",
1426+
"kms:GenerateDataKey"
1427+
],
14251428
"Effect": "Allow",
14261429
"Resource": {
14271430
"Fn::Sub": [

0 commit comments

Comments
 (0)