Skip to content

Commit

Permalink
chore(cli): fix integ test for IAM diff
Browse files Browse the repository at this point in the history
  • Loading branch information
shivlaks committed Jun 2, 2020
1 parent 171b039 commit d0fa843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk/test/integ/cli/cli.integtest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ test('IAM diff', async () => {
// ┌───┬─────────────────┬────────┬────────────────┬────────────────────────────┬───────────┐
// │ │ Resource │ Effect │ Action │ Principal │ Condition │
// ├───┼─────────────────┼────────┼────────────────┼────────────────────────────┼───────────┤
// │ + │ ${SomeRole.Arn} │ Allow │ sts:AssumeRole │ Service:ec2.amazon.aws.com │ │
// │ + │ ${SomeRole.Arn} │ Allow │ sts:AssumeRole │ Service:ec2.amazonaws.com │ │
// └───┴─────────────────┴────────┴────────────────┴────────────────────────────┴───────────┘

expect(output).toContain('${SomeRole.Arn}');
expect(output).toContain('sts:AssumeRole');
expect(output).toContain('ec2.amazon.aws.com');
expect(output).toContain('ec2.amazonaws.com');
});

test('fast deploy', async () => {
Expand Down

0 comments on commit d0fa843

Please sign in to comment.