@gradientedge/cdk-utils 8.157.0 → 8.158.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,8 @@ class Ipv6Vpc extends aws_ec2_1.Vpc {
19
19
  lodash_1.default.forEach([...this.publicSubnets, ...this.privateSubnets, ...this.isolatedSubnets], (subnet, index) => {
20
20
  subnet.node.addDependency(cfnVpcCidrBlock);
21
21
  const cfnSubnet = subnet.node.defaultChild;
22
+ cfnSubnet.cidrBlock = undefined;
23
+ cfnSubnet.mapPublicIpOnLaunch = false;
22
24
  cfnSubnet.ipv6CidrBlock = aws_cdk_lib_1.Fn.select(index, subnetIpv6CidrBlocks);
23
25
  cfnSubnet.assignIpv6AddressOnCreation = true;
24
26
  cfnSubnet.ipv6Native = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.157.0",
3
+ "version": "8.158.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -28,6 +28,8 @@ export class Ipv6Vpc extends Vpc {
28
28
  _.forEach([...this.publicSubnets, ...this.privateSubnets, ...this.isolatedSubnets], (subnet, index) => {
29
29
  subnet.node.addDependency(cfnVpcCidrBlock)
30
30
  const cfnSubnet = subnet.node.defaultChild as CfnSubnet
31
+ cfnSubnet.cidrBlock = undefined
32
+ cfnSubnet.mapPublicIpOnLaunch = false
31
33
  cfnSubnet.ipv6CidrBlock = Fn.select(index, subnetIpv6CidrBlocks)
32
34
  cfnSubnet.assignIpv6AddressOnCreation = true
33
35
  cfnSubnet.ipv6Native = true