-
Notifications
You must be signed in to change notification settings - Fork 40
/
labels.tf
39 lines (35 loc) · 1.11 KB
/
labels.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
module "airflow_labels" {
source = "git::https://github.com/cloudposse/terraform-terraform-label.git?ref=tags/0.4.0"
namespace = var.cluster_name
stage = var.cluster_stage
name = "airflow"
delimiter = "-"
tags = var.tags
}
module "airflow_labels_scheduler" {
source = "git::https://github.com/cloudposse/terraform-terraform-label.git?ref=tags/0.4.0"
namespace = var.cluster_name
stage = var.cluster_stage
name = "airflow"
attributes = ["scheduler"]
delimiter = "-"
tags = var.tags
}
module "airflow_labels_webserver" {
source = "git::https://github.com/cloudposse/terraform-terraform-label.git?ref=tags/0.4.0"
namespace = var.cluster_name
stage = var.cluster_stage
name = "airflow"
attributes = ["webserver"]
delimiter = "-"
tags = var.tags
}
module "airflow_labels_worker" {
source = "git::https://github.com/cloudposse/terraform-terraform-label.git?ref=tags/0.4.0"
namespace = var.cluster_name
stage = var.cluster_stage
name = "airflow"
attributes = ["worker"]
delimiter = "-"
tags = var.tags
}