Skip to content

Commit

Permalink
fix decdk snapshot test
Browse files Browse the repository at this point in the history
  • Loading branch information
Niranjan Jayakar committed Feb 15, 2021
1 parent f96aa4a commit aa79d42
Showing 1 changed file with 3 additions and 158 deletions.
161 changes: 3 additions & 158 deletions packages/decdk/test/__snapshots__/synth.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1847,23 +1847,7 @@ Object {
"KeyPolicy": Object {
"Statement": Array [
Object {
"Action": Array [
"kms:Create*",
"kms:Describe*",
"kms:Enable*",
"kms:List*",
"kms:Put*",
"kms:Update*",
"kms:Revoke*",
"kms:Disable*",
"kms:Get*",
"kms:Delete*",
"kms:ScheduleKeyDeletion",
"kms:CancelKeyDeletion",
"kms:GenerateDataKey",
"kms:TagResource",
"kms:UntagResource",
],
"Action": "kms:*",
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
Expand All @@ -1885,24 +1869,6 @@ Object {
},
"Resource": "*",
},
Object {
"Action": Array [
"kms:Decrypt",
"kms:Encrypt",
"kms:ReEncrypt*",
"kms:GenerateDataKey*",
],
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
"Fn::GetAtt": Array [
"BuildProjectRoleAA92C755",
"Arn",
],
},
},
"Resource": "*",
},
],
"Version": "2012-10-17",
},
Expand Down Expand Up @@ -1944,23 +1910,7 @@ Object {
"KeyPolicy": Object {
"Statement": Array [
Object {
"Action": Array [
"kms:Create*",
"kms:Describe*",
"kms:Enable*",
"kms:List*",
"kms:Put*",
"kms:Update*",
"kms:Revoke*",
"kms:Disable*",
"kms:Get*",
"kms:Delete*",
"kms:ScheduleKeyDeletion",
"kms:CancelKeyDeletion",
"kms:GenerateDataKey",
"kms:TagResource",
"kms:UntagResource",
],
"Action": "kms:*",
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
Expand All @@ -1982,95 +1932,6 @@ Object {
},
"Resource": "*",
},
Object {
"Action": Array [
"kms:Decrypt",
"kms:DescribeKey",
"kms:Encrypt",
"kms:ReEncrypt*",
"kms:GenerateDataKey*",
],
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
"Fn::GetAtt": Array [
"PipelineRoleD68726F7",
"Arn",
],
},
},
"Resource": "*",
},
Object {
"Action": Array [
"kms:Decrypt",
"kms:DescribeKey",
"kms:Encrypt",
"kms:ReEncrypt*",
"kms:GenerateDataKey*",
],
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
"Fn::GetAtt": Array [
"PipelineSourceCodePipelineActionRoleC6F9E7F5",
"Arn",
],
},
},
"Resource": "*",
},
Object {
"Action": Array [
"kms:Decrypt",
"kms:DescribeKey",
"kms:Encrypt",
"kms:ReEncrypt*",
"kms:GenerateDataKey*",
],
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
"Fn::GetAtt": Array [
"BuildProjectRoleAA92C755",
"Arn",
],
},
},
"Resource": "*",
},
Object {
"Action": Array [
"kms:Decrypt",
"kms:DescribeKey",
],
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
"Fn::GetAtt": Array [
"PipelineDeployRole97597E3E",
"Arn",
],
},
},
"Resource": "*",
},
Object {
"Action": Array [
"kms:Decrypt",
"kms:DescribeKey",
],
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
"Fn::GetAtt": Array [
"PipelineDeployCodePipelineActionRole8B83082E",
"Arn",
],
},
},
"Resource": "*",
},
],
"Version": "2012-10-17",
},
Expand Down Expand Up @@ -2909,23 +2770,7 @@ Object {
"KeyPolicy": Object {
"Statement": Array [
Object {
"Action": Array [
"kms:Create*",
"kms:Describe*",
"kms:Enable*",
"kms:List*",
"kms:Put*",
"kms:Update*",
"kms:Revoke*",
"kms:Disable*",
"kms:Get*",
"kms:Delete*",
"kms:ScheduleKeyDeletion",
"kms:CancelKeyDeletion",
"kms:GenerateDataKey",
"kms:TagResource",
"kms:UntagResource",
],
"Action": "kms:*",
"Effect": "Allow",
"Principal": Object {
"AWS": Object {
Expand Down

0 comments on commit aa79d42

Please sign in to comment.