diff --git a/packages/cli/src/constructs/check-group.ts b/packages/cli/src/constructs/check-group.ts index c4878493..1bf77233 100644 --- a/packages/cli/src/constructs/check-group.ts +++ b/packages/cli/src/constructs/check-group.ts @@ -69,7 +69,7 @@ export interface CheckGroupProps { /** * An array of one or more data center locations where to run the checks. */ - locations: Array + locations?: Array /** * An array of one or more private locations where to run the checks. */ @@ -166,7 +166,7 @@ export class CheckGroup extends Construct { this.doubleCheck = props.doubleCheck this.tags = props.tags this.runtimeId = props.runtimeId - this.locations = props.locations + this.locations = props.locations ?? [] this.privateLocations = props.privateLocations this.concurrency = props.concurrency // `frequency` is not a CheckGroup resource property. Not present in synthesize()