-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.tf
49 lines (38 loc) · 1.16 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
module "data_catalog_tag_templates" {
source = "./modules/tag-template"
project = var.project_id
region = var.region
tag_templates = var.tag_templates
}
module "data_catalog_entry_groups" {
source = "./modules/entry-group"
project = var.project_id
region = var.region
entry_groups = var.entry_groups
}
module "data_catalog_entries" {
source = "./modules/entries"
project = var.project_id
region = var.region
entries = var.entries
entry_group_self_links = module.data_catalog_entry_groups.self_links
depends_on = [
module.data_catalog_entry_groups
]
}
module "data_catalog_tags" {
source = "./modules/tag"
tags = var.tags
entry_groups = module.data_catalog_entry_groups.self_links
tag_templates = module.data_catalog_tag_templates.self_links
depends_on = [
module.data_catalog_tag_templates,
module.data_catalog_entry_groups
]
}
module "data_catalog_taxonomy_policy_tags" {
source = "./modules/taxonomy-policy-tags"
project = var.project_id
region = var.region
taxonomy_policy_tags = var.taxonomy_policy_tags
}