-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused wait_for_completion logic and related run status checks…
… in dbt job trigger
- Loading branch information
1 parent
86f4258
commit 77acc3c
Showing
3 changed files
with
11 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module "fivetran_trigger" { | ||
source = "git@github.com:CruGlobal/cru-terraform-modules.git//gcp/cloudrun-function/scheduled-tasks?ref=v30.14.4" | ||
source = "git::https://github.com/CruGlobal/cru-terraform-modules.git//gcp/cloudrun-function/scheduled-tasks?ref=v30.14.4" | ||
|
||
name = "fivetran-trigger" | ||
description = "A set of triggers to kick off Fivetran connection syncs for various systems" | ||
|
@@ -110,41 +110,41 @@ module "fivetran_trigger" { | |
argument = { | ||
"connector_id" = "unclothed_cheddar" | ||
} | ||
}, | ||
} | ||
} | ||
|
||
secrets = ["API_KEY", "API_SECRET"] | ||
|
||
secret_managers = [ | ||
"user:[email protected]", | ||
"user:[email protected]", | ||
"group:[email protected]", | ||
] | ||
|
||
project_id = module.project.project_id | ||
region = local.region | ||
project_id = local.project_id | ||
} | ||
|
||
module "dbt-triggers" { | ||
source = "git::https://github.com/CruGlobal/cru-terraform-modules.git//gcp/cloudrun-function/scheduled-tasks?ref=v30.13.0" | ||
source = "git::https://github.com/CruGlobal/cru-terraform-modules.git//gcp/cloudrun-function/scheduled-tasks?ref=v30.14.4" | ||
name = "dbt-trigger" | ||
description = "A set of triggers to kick off dbt jobs" | ||
secrets = ["DBT_TOKEN"] | ||
time_zone = "UTC" | ||
schedule = { | ||
doc_src_freshness : { | ||
cron : "0 0 1 1 *", | ||
argument = { | ||
job_id = "18120" | ||
wait_for_completion = true | ||
"job_id" = "18120" | ||
} | ||
}, | ||
utilities : { | ||
cron : "0 0 1 1 *", | ||
argument = { | ||
job_id = "23366" | ||
wait_for_completion = false | ||
"job_id" = "23366" | ||
} | ||
} | ||
} | ||
|
||
secrets = ["DBT_TOKEN"] | ||
|
||
secret_managers = [ | ||
"user:[email protected]", | ||
"user:[email protected]", | ||
|