Skip to content

Commit eb03988

Browse files
committed
integ
1 parent 59ce9fb commit eb03988

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.prefix-list.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ export class TestCase extends Stack {
1616
{ cidr: '10.0.0.2/32', description: 'sample1' },
1717
],
1818
});
19-
const vpc = new ec2.Vpc(this, 'vpc');
19+
const vpc = new ec2.Vpc(this, 'vpc', {
20+
natGateways: 0,
21+
maxAzs: 1,
22+
});
2023
const sg = new ec2.SecurityGroup(this, 'sg', { vpc });
21-
sg.connections.allowFrom(prefixList.peer, ec2.Port.udp(80));
24+
sg.connections.allowFrom(prefixList, ec2.Port.udp(80));
2225
}
2326
}
2427

0 commit comments

Comments
 (0)