diff --git a/cdk/lib/__snapshots__/zuora-salesforce-link-remover.test.ts.snap b/cdk/lib/__snapshots__/zuora-salesforce-link-remover.test.ts.snap index 82445575d6..b1e3434db8 100644 --- a/cdk/lib/__snapshots__/zuora-salesforce-link-remover.test.ts.snap +++ b/cdk/lib/__snapshots__/zuora-salesforce-link-remover.test.ts.snap @@ -131,7 +131,7 @@ exports[`The zuora-salesforce-link-remover stack matches the snapshot 1`] = ` "ScheduleStateMachineRule91756851": { "Properties": { "ScheduleExpression": "cron(0 0 1 1 ? *)", - "State": "ENABLED", + "State": "DISABLED", "Targets": [ { "Arn": { @@ -1546,7 +1546,7 @@ exports[`The zuora-salesforce-link-remover stack matches the snapshot 2`] = ` "ScheduleStateMachineRule91756851": { "Properties": { "ScheduleExpression": "cron(0 * * * ? *)", - "State": "ENABLED", + "State": "DISABLED", "Targets": [ { "Arn": { diff --git a/cdk/lib/zuora-salesforce-link-remover.ts b/cdk/lib/zuora-salesforce-link-remover.ts index 4d126208e4..ab32e05946 100644 --- a/cdk/lib/zuora-salesforce-link-remover.ts +++ b/cdk/lib/zuora-salesforce-link-remover.ts @@ -180,6 +180,7 @@ export class ZuoraSalesforceLinkRemover extends GuStack { new Rule(this, 'ScheduleStateMachineRule', { schedule: Schedule.cron(executionFrequency), targets: [new SfnStateMachine(stateMachine)], + enabled: false, }); const topic = Topic.fromTopicArn(