Skip to content

Commit

Permalink
Ensure schedulejob still works
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpertet committed Jun 7, 2024
1 parent 68cbe50 commit 4ef4bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stacks/gcp/GcpStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class GcpStack extends TerraformStack {
});
}

if (func.type === "scheduledJob" && func.version === "gen2") {
if (func.type === "scheduledJob" && func.version !== "gen1") {
new cloudSchedulerJob.CloudSchedulerJob(this, "scheduler-" + func.name, {
name: func.name,
schedule: func.schedule,
Expand Down

0 comments on commit 4ef4bb8

Please sign in to comment.