diff --git a/packages/@aws-cdk/cdk/lib/fn.ts b/packages/@aws-cdk/cdk/lib/fn.ts index f15c31f0255b9..1c4ab8f823350 100644 --- a/packages/@aws-cdk/cdk/lib/fn.ts +++ b/packages/@aws-cdk/cdk/lib/fn.ts @@ -112,8 +112,8 @@ export class Fn { * @param sizeMask The digit covered in the subnet. * @returns a token represented as a string */ - public static cidr(ipBlock: string, count: number, sizeMask?: string): string { - return new FnCidr(ipBlock, count, sizeMask).toString(); + public static cidr(ipBlock: string, count: number, sizeMask?: string): string[] { + return new FnCidr(ipBlock, count, sizeMask).toList(); } /**