Skip to content

Commit

Permalink
addressing last feedback comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shikha372 committed Jun 14, 2024
1 parent 62b029b commit 57c00a2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
5 changes: 2 additions & 3 deletions packages/@aws-cdk/aws-vpcv2-alpha/lib/subnet-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ export class SubnetV2 extends Resource implements ISubnet {
constructor(scope: Construct, id: string, props: SubnetPropsV2) {
super(scope, id);

let ipv4CidrBlock: string | undefined;
let ipv6CidrBlock: string| undefined;

let ipv4CidrBlock: string = '';
let ipv6CidrBlock: string = '';
if (props.cidrBlock instanceof Ipv4Cidr) {
ipv4CidrBlock = props.cidrBlock.cidr;
} else if (props.cidrBlock instanceof Ipv6Cidr) {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"Properties": {
"AvailabilityZone": "us-west-2a",
"CidrBlock": "10.0.0.0/24",
"Ipv6CidrBlock": "",
"VpcId": {
"Fn::GetAtt": [
"VPCTestFB735C86",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57c00a2

Please sign in to comment.