Skip to content

Commit 46a448f

Browse files
committed
initial commit
1 parent 0fe8ab6 commit 46a448f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ module "bigquery" {
101101
env = "dev"
102102
billable = "true"
103103
}
104+
resource_tags = {
105+
short_name = "123456789012/environment"
106+
}
104107
}
105108
```
106109

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "google_bigquery_dataset" "main" {
3838
max_time_travel_hours = var.max_time_travel_hours
3939
project = var.project_id
4040
labels = var.dataset_labels
41-
41+
resource_tags = var.resource_tags
4242
dynamic "default_encryption_configuration" {
4343
for_each = var.encryption_key == null ? [] : [var.encryption_key]
4444
content {

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ variable "dataset_labels" {
7777
type = map(string)
7878
default = {}
7979
}
80+
variable "resource_tags" {
81+
description = "A map of resource tags to add to the dataset"
82+
type = map(string)
83+
default = {}
84+
}
8085

8186
# Format: list(objects)
8287
# domain: A domain to grant access to.

0 commit comments

Comments
 (0)