Skip to content

Commit 1b1df59

Browse files
committed
updated mh module
1 parent 2c2f24a commit 1b1df59

3 files changed

Lines changed: 20 additions & 78 deletions

File tree

infra/tf/main.tf

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ module "bigquery_export" {
4848
function_name = "bigquery-export"
4949
}
5050

51-
module "masthead" {
52-
source = "./masthead"
53-
54-
project = local.project
55-
# source = "https://github.com/Masthead-Data/masthead-deployment"
56-
# project_id = local.project
57-
# project_number = local.project_number
58-
}
59-
6051
module "functions" {
6152
source = "./functions"
6253
project = local.project
@@ -75,3 +66,23 @@ module "dataform_export" {
7566
remote_functions_connection = module.functions.google_bigquery_connection-remote_functions-id
7667
depends_on = [module.functions]
7768
}
69+
70+
module "masthead_agent" {
71+
source = "github.com/masthead-data/terraform-google-masthead-agent?ref=48411ad144a8540552f366c6ceb24fd6aae787a9"
72+
# version = "~> 0.1.3"
73+
74+
project_id = local.project
75+
76+
# Enable only specific modules
77+
enable_modules = {
78+
bigquery = true
79+
dataform = true
80+
dataplex = true
81+
analytics_hub = true
82+
}
83+
84+
# Custom labels for resource management
85+
labels = {
86+
team = "dataops"
87+
}
88+
}

infra/tf/masthead/main.tf

Lines changed: 0 additions & 66 deletions
This file was deleted.

infra/tf/masthead/variables.tf

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)