Skip to content

Commit

Permalink
Move to 3 am
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-chappell committed Jan 6, 2025
1 parent caeb245 commit 14e3fa3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
48 changes: 24 additions & 24 deletions packages/cdk/lib/__snapshots__/service-catalogue.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20399,9 +20399,9 @@ spec:
},
"Type": "AWS::IAM::Role",
},
"cloudbustercloudbustercron07MONFRI028B0F781": {
"cloudbustercloudbustercron03MONFRI086370CEA": {
"Properties": {
"ScheduleExpression": "cron(0 7 ? * MON-FRI *)",
"ScheduleExpression": "cron(0 3 ? * MON-FRI *)",
"State": "ENABLED",
"Targets": [
{
Expand All @@ -20417,7 +20417,7 @@ spec:
},
"Type": "AWS::Events::Rule",
},
"cloudbustercloudbustercron07MONFRI0AllowEventRuleServiceCataloguecloudbuster82FA89E4693980BB": {
"cloudbustercloudbustercron03MONFRI0AllowEventRuleServiceCataloguecloudbuster82FA89E47F529A44": {
"Properties": {
"Action": "lambda:InvokeFunction",
"FunctionName": {
Expand All @@ -20429,7 +20429,7 @@ spec:
"Principal": "events.amazonaws.com",
"SourceArn": {
"Fn::GetAtt": [
"cloudbustercloudbustercron07MONFRI028B0F781",
"cloudbustercloudbustercron03MONFRI086370CEA",
"Arn",
],
},
Expand Down Expand Up @@ -24221,25 +24221,7 @@ spec:
"Type": "AWS::SecretsManager::Secret",
"UpdateReplacePolicy": "Delete",
},
"repocoprepocopcron07MONFRI08C03526D": {
"Properties": {
"ScheduleExpression": "cron(0 7 ? * MON-FRI *)",
"State": "ENABLED",
"Targets": [
{
"Arn": {
"Fn::GetAtt": [
"repocop20553EB8",
"Arn",
],
},
"Id": "Target0",
},
],
},
"Type": "AWS::Events::Rule",
},
"repocoprepocopcron07MONFRI0AllowEventRuleServiceCataloguerepocop7BEB58926BBB25F1": {
"repocoprepocopcron03MONFRI0AllowEventRuleServiceCataloguerepocop7BEB5892318F26C8": {
"Properties": {
"Action": "lambda:InvokeFunction",
"FunctionName": {
Expand All @@ -24251,13 +24233,31 @@ spec:
"Principal": "events.amazonaws.com",
"SourceArn": {
"Fn::GetAtt": [
"repocoprepocopcron07MONFRI08C03526D",
"repocoprepocopcron03MONFRI0E07FE560",
"Arn",
],
},
},
"Type": "AWS::Lambda::Permission",
},
"repocoprepocopcron03MONFRI0E07FE560": {
"Properties": {
"ScheduleExpression": "cron(0 3 ? * MON-FRI *)",
"State": "ENABLED",
"Targets": [
{
"Arn": {
"Fn::GetAtt": [
"repocop20553EB8",
"Arn",
],
},
"Id": "Target0",
},
],
},
"Type": "AWS::Events::Rule",
},
"servicecatalogueCluster5FC34DC5": {
"Properties": {
"ClusterSettings": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cdk/lib/service-catalogue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class ServiceCatalogue extends GuStack {

const prodSchedule = Schedule.cron({
weekDay: 'MON-FRI',
hour: '7',
hour: '3',
minute: '0',
});

Expand Down

0 comments on commit 14e3fa3

Please sign in to comment.