Skip to content

Commit

Permalink
Disable zuora-salesforce-link-remover schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrf1 committed Jul 19, 2024
1 parent d259cbb commit 590adf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions cdk/lib/zuora-salesforce-link-remover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 590adf2

Please sign in to comment.