We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ce9fb commit eb03988Copy full SHA for eb03988
packages/@aws-cdk-testing/framework-integ/test/aws-ec2/test/integ.prefix-list.ts
@@ -16,9 +16,12 @@ export class TestCase extends Stack {
16
{ cidr: '10.0.0.2/32', description: 'sample1' },
17
],
18
});
19
- const vpc = new ec2.Vpc(this, 'vpc');
+ const vpc = new ec2.Vpc(this, 'vpc', {
20
+ natGateways: 0,
21
+ maxAzs: 1,
22
+ });
23
const sg = new ec2.SecurityGroup(this, 'sg', { vpc });
- sg.connections.allowFrom(prefixList.peer, ec2.Port.udp(80));
24
+ sg.connections.allowFrom(prefixList, ec2.Port.udp(80));
25
}
26
27
0 commit comments