Skip to content

Commit a1baf5f

Browse files
committed
Add workspace tag
1 parent 84f4bac commit a1baf5f

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

google/redis/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module "netbox-vm" {
3838
project = var.project
3939

4040
name = var.name
41+
tags = [var.workspace]
4142

4243
role = "Redis"
4344
platform = "Google Cloud"

google/redis/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "workspace" {
2+
type = string
3+
}
4+
15
variable "project" {
26
type = string
37
}

google/sql/postgresql/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ module "netbox-vm" {
8686
project = var.project
8787

8888
name = var.name
89+
tags = [var.workspace]
8990

9091
role = "PostgreSQL"
9192
platform = "Google Cloud"

google/sql/postgresql/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "workspace" {
2+
type = string
3+
}
4+
15
variable "project" {
26
type = string
37
}

0 commit comments

Comments
 (0)