Skip to content

Commit

Permalink
Add managed policy to snapshot test
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesBBR committed Nov 30, 2022
1 parent 51fb897 commit b86519e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/@aws-cdk/aws-eks/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2103,6 +2103,13 @@ describe('cluster', () => {
':iam::aws:policy/AmazonEC2ContainerRegistryReadOnly',
]],
},
{
'Fn::Join': ['', [
'arn:',
{ Ref: 'AWS::Partition' },
':iam::aws:policy/AmazonElasticContainerRegistryPublicReadOnly',
]],
},
],
});
});
Expand Down Expand Up @@ -2297,6 +2304,13 @@ describe('cluster', () => {
':iam::aws:policy/AmazonEC2ContainerRegistryReadOnly',
]],
},
{
'Fn::Join': ['', [
'arn:',
{ Ref: 'AWS::Partition' },
':iam::aws:policy/AmazonElasticContainerRegistryPublicReadOnly',
]],
},
],
});
});
Expand Down

0 comments on commit b86519e

Please sign in to comment.