Skip to content

Commit

Permalink
Use natGatewayId instead of gatewayId to specify NAT gateway route
Browse files Browse the repository at this point in the history
Fixes #267.
  • Loading branch information
Luke Hoban committed May 10, 2019
1 parent 8aa2816 commit 05d07cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodejs/awsx/ec2/natGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class NatGateway
// Choose Add another route. For Destination, type 0.0.0.0/0. For Target, select the ID
// of your NAT gateway.
destinationCidrBlock: "0.0.0.0/0",
gatewayId: this.natGateway.id,
natGatewayId: this.natGateway.id,
};
}
}
Expand Down

0 comments on commit 05d07cd

Please sign in to comment.