We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c4199 commit 9d2ea2aCopy full SHA for 9d2ea2a
packages/@aws-cdk/cdk/lib/fn.ts
@@ -112,8 +112,8 @@ export class Fn {
112
* @param sizeMask The digit covered in the subnet.
113
* @returns a token represented as a string
114
*/
115
- public static cidr(ipBlock: string, count: number, sizeMask?: string): string {
116
- return new FnCidr(ipBlock, count, sizeMask).toString();
+ public static cidr(ipBlock: string, count: number, sizeMask?: string): string[] {
+ return new FnCidr(ipBlock, count, sizeMask).toList();
117
}
118
119
/**
0 commit comments