Skip to content

Commit

Permalink
Update src/constructs/ec2/vpc.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Geller <[email protected]>
  • Loading branch information
akash1810 and Stephen Geller authored Jan 22, 2021
1 parent b90d2be commit cd8e403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constructs/ec2/vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class GuVpc {
* As a hacky workaround, we have moved to using the fromSubnetAttributes method and hardcoded an empty value
* for the routeTableId prop. This prevents the error and, when tested on existings stacks, results in no change to the CFN output
*
* TODO: Understand VPCs and Subnets better and developer a better solution to this problem
* TODO: Understand VPCs and Subnets better and develop a better solution to this problem
*/
return subnets.map((subnetId) =>
Subnet.fromSubnetAttributes(scope, `subnet-${subnetId}`, { subnetId, routeTableId: " " })
Expand Down

0 comments on commit cd8e403

Please sign in to comment.