Skip to content

Commit

Permalink
Update expected tests and upup codes
Browse files Browse the repository at this point in the history
Signed-off-by: AkiraFukushima <h3.poteto@gmail.com>
  • Loading branch information
h3poteto committed Feb 4, 2021
1 parent 46bd770 commit 17c35f0
Show file tree
Hide file tree
Showing 52 changed files with 334 additions and 5 deletions.
7 changes: 7 additions & 0 deletions pkg/model/iam/tests/iam_builder_master_legacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"s3:*"
Expand Down
7 changes: 7 additions & 0 deletions pkg/model/iam/tests/iam_builder_master_strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"s3:Get*"
Expand Down
7 changes: 7 additions & 0 deletions pkg/model/iam/tests/iam_builder_master_strict_ecr.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"s3:Get*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
7 changes: 7 additions & 0 deletions tests/integration/update_cluster/complex/cloudformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1656,6 +1656,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@
"*"
]
},
{
"Action": "iam:GetInstanceProfile",
"Effect": "Allow",
"Resource": [
"*"
]
},
{
"Action": [
"route53:ChangeResourceRecordSets",
Expand Down
Loading

0 comments on commit 17c35f0

Please sign in to comment.