Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gordon-klotho committed Apr 23, 2024
1 parent 3d7b3f4 commit 8947bcc
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/engine/testdata/2_routes.deployment-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"apigateway:UpdateResource",
"apigateway:UpdateRestApi",
"apigateway:UpdateStage",
"ec2:DeleteNetworkInterface",
"ecr:*Image",
"ecr:*Layer*",
"ecr:*Repository",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"apigateway:UpdateResource",
"apigateway:UpdateRestApi",
"apigateway:UpdateStage",
"ec2:DeleteNetworkInterface",
"ecr:*Image",
"ecr:*Layer*",
"ecr:*Repository",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"Statement": [
{
"Action": [
"ec2:DeleteNetworkInterface",
"ecr:*Image",
"ecr:*Layer*",
"ecr:*Repository",
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/testdata/extend_graph.deployment-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"dynamodb:CreateTable",
"dynamodb:DeleteTable",
"dynamodb:UpdateTable",
"ec2:DeleteNetworkInterface",
"ecr:*Image",
"ecr:*Layer*",
"ecr:*Repository",
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/testdata/lambda_efs.deployment-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ec2:*Vpc",
"ec2:*Vpc*",
"ec2:AssociateRouteTable",
"ec2:DeleteNetworkInterface",
"ec2:DeleteSecurityGroup",
"ec2:Describe*",
"ec2:DescribeAvailabilityZones",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ec2:*Vpc",
"ec2:*Vpc*",
"ec2:AssociateRouteTable",
"ec2:DeleteNetworkInterface",
"ec2:DeleteSecurityGroup",
"ec2:Describe*",
"ec2:DescribeAvailabilityZones",
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/testdata/remove_path.deployment-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ec2:*Vpc",
"ec2:*Vpc*",
"ec2:AssociateRouteTable",
"ec2:DeleteNetworkInterface",
"ec2:DeleteSecurityGroup",
"ec2:Describe*",
"ec2:DescribeAvailabilityZones",
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/testdata/rename.deployment-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"Statement": [
{
"Action": [
"ec2:DeleteNetworkInterface",
"ecr:*Image",
"ecr:*Layer*",
"ecr:*Repository",
Expand Down
1 change: 1 addition & 0 deletions pkg/engine/testdata/single_lambda.deployment-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"Statement": [
{
"Action": [
"ec2:DeleteNetworkInterface",
"ecr:*Image",
"ecr:*Layer*",
"ecr:*Repository",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"ec2:*Tags",
"ec2:*Vpc",
"ec2:*Vpc*",
"ec2:DeleteNetworkInterface",
"ec2:DeleteSecurityGroup",
"ec2:ModifySecurityGroupRules",
"ec2:ModifyVpcAttribute",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ec2:*Vpc",
"ec2:*Vpc*",
"ec2:AssociateRouteTable",
"ec2:DeleteNetworkInterface",
"ec2:DeleteSecurityGroup",
"ec2:Describe*",
"ec2:DescribeAvailabilityZones",
Expand Down

0 comments on commit 8947bcc

Please sign in to comment.