Skip to content

Commit

Permalink
Fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Feb 1, 2025
1 parent 6192955 commit 9f2cf1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dagster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "google_cloud_run_v2_job" "dagster_job" {
resource "null_resource" "post_sensor" {
provisioner "local-exec" {
command = <<EOT
curl -X POST "http://localhost:8888/FROST-Server/v1.1/Sensors" \
curl -X POST "${var.frost_uri}/FROST-Server/v1.1/Sensors" \
-H "Content-Type: application/json" \
-d '{
"@iot.id": 1,
Expand All @@ -77,5 +77,5 @@ resource "null_resource" "invoke_partition_jobs" {
EOT
}

depends_on = [null_resource.post_sensor]
depends_on = [null_resource.post_sensor, google_cloud_run_v2_job.dagster_job]
}

0 comments on commit 9f2cf1a

Please sign in to comment.