@@ -2748,47 +2748,47 @@ describe('vpc', () => {
2748
2748
} ) ;
2749
2749
} ) ;
2750
2750
2751
- test ( 'EgressOnlyInternetGateWay is not created when no private subnet configured in dual stack' , ( ) => {
2751
+ test ( 'EgressOnlyInternetGateWay is not created when no private subnet configured in dual stack' , ( ) => {
2752
2752
// GIVEN
2753
2753
const app = new App ( ) ;
2754
2754
const stack = new Stack ( app , 'DualStackStack' ) ;
2755
2755
2756
2756
// WHEN
2757
2757
const vpc = new Vpc ( stack , 'Vpc' , {
2758
- ipProtocol : IpProtocol . DUAL_STACK ,
2759
- subnetConfiguration : [
2760
- {
2761
- subnetType : SubnetType . PUBLIC ,
2762
- name : 'public' ,
2763
- } ,
2764
- ] ,
2758
+ ipProtocol : IpProtocol . DUAL_STACK ,
2759
+ subnetConfiguration : [
2760
+ {
2761
+ subnetType : SubnetType . PUBLIC ,
2762
+ name : 'public' ,
2763
+ } ,
2764
+ ] ,
2765
2765
} ) ;
2766
2766
2767
2767
// THEN
2768
- Template . fromStack ( stack ) . resourceCountIs ( 'AWS::EC2::EgressOnlyInternetGateway' , 0 )
2768
+ Template . fromStack ( stack ) . resourceCountIs ( 'AWS::EC2::EgressOnlyInternetGateway' , 0 ) ;
2769
2769
} ) ;
2770
- test ( 'EgressOnlyInternetGateWay is created when private subnet configured in dual stack' , ( ) => {
2770
+ test ( 'EgressOnlyInternetGateWay is created when private subnet configured in dual stack' , ( ) => {
2771
2771
// GIVEN
2772
2772
const app = new App ( ) ;
2773
2773
const stack = new Stack ( app , 'DualStackStack' ) ;
2774
2774
2775
2775
// WHEN
2776
2776
const vpc = new Vpc ( stack , 'Vpc' , {
2777
- ipProtocol : IpProtocol . DUAL_STACK ,
2778
- subnetConfiguration : [
2779
- {
2780
- subnetType : SubnetType . PUBLIC ,
2781
- name : 'public' ,
2782
- } ,
2783
- {
2784
- subnetType : SubnetType . PRIVATE_WITH_EGRESS ,
2785
- name : 'private' ,
2786
- } ,
2787
- ] ,
2777
+ ipProtocol : IpProtocol . DUAL_STACK ,
2778
+ subnetConfiguration : [
2779
+ {
2780
+ subnetType : SubnetType . PUBLIC ,
2781
+ name : 'public' ,
2782
+ } ,
2783
+ {
2784
+ subnetType : SubnetType . PRIVATE_WITH_EGRESS ,
2785
+ name : 'private' ,
2786
+ } ,
2787
+ ] ,
2788
2788
} ) ;
2789
2789
2790
2790
// THEN
2791
- Template . fromStack ( stack ) . resourceCountIs ( 'AWS::EC2::EgressOnlyInternetGateway' , 1 ) ;
2791
+ Template . fromStack ( stack ) . resourceCountIs ( 'AWS::EC2::EgressOnlyInternetGateway' , 1 ) ;
2792
2792
} ) ;
2793
2793
2794
2794
test ( 'error should occur if IPv6 properties are provided for a non-dual-stack VPC' , ( ) => {
0 commit comments