Skip to content

Commit

Permalink
Revert to non-beta job
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Feb 5, 2025
1 parent 4fcebad commit 992cdf7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions modules/dagster/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# main.tf
resource "null_resource" "build_dagster" {
resource "null_resource" "dagster_build" {
provisioner "local-exec" {
command = <<-EOT
docker buildx build \
Expand All @@ -15,15 +15,14 @@ resource "google_cloud_run_v2_job" "dagster_job" {
name = "wqp-dagster-job"
location = var.region
deletion_protection = false
launch_stage = "BETA"

template {
task_count = length(keys(var.partitions))
parallelism = 10
parallelism = 20

template {
timeout = "172800s"
max_retries = 1
timeout = "86400s"
max_retries = 2

containers {
image = "${var.region}-docker.pkg.dev/${var.project_id}/wqp-docker-repo/dagster:latest"
Expand All @@ -47,7 +46,7 @@ resource "google_cloud_run_v2_job" "dagster_job" {
}
}

depends_on = [null_resource.build_dagster]
depends_on = [null_resource.dagster_build]
}

resource "null_resource" "post_sensor" {
Expand Down

0 comments on commit 992cdf7

Please sign in to comment.