Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-ec2/lib/vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2771,7 +2771,6 @@ class ImportedSubnet extends Resource implements ISubnet, IPublicSubnet, IPrivat

public get ipv4CidrBlock(): string {
if (!this._ipv4CidrBlock) {
// tslint:disable-next-line: max-line-length
throw new ValidationError(lit`CannotReferenceImportedSubnets`, 'You cannot reference an imported Subnet\'s IPv4 CIDR if it was not supplied. Add the ipv4CidrBlock when importing using Subnet.fromSubnetAttributes()', this);
}
return this._ipv4CidrBlock;
Expand Down
Loading