forked from bridgecrewio/terragoat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbig_data.tf
37 lines (35 loc) · 1.03 KB
/
big_data.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
resource "google_sql_database_instance" "master_instance" {
name = "terragoat-${var.environment}-master"
database_version = "POSTGRES_11"
region = var.region
settings {
tier = "db-f1-micro"
ip_configuration {
ipv4_enabled = true
authorized_networks {
name = "WWW"
value = "0.0.0.0/0"
}
}
backup_configuration {
enabled = false
}
}
}
resource "google_bigquery_dataset" "dataset" {
dataset_id = "terragoat_${var.environment}_dataset"
access {
special_group = "allAuthenticatedUsers"
role = "READER"
}
labels = {
git_commit = "2bdc0871a5f4505be58244029cc6485d45d7bb8e"
git_file = "terraform__gcp__big_data_tf"
git_last_modified_at = "2022-01-19-17-02-27"
git_last_modified_by = "jameswoolfenden"
git_modifiers = "jameswoolfenden__nimrodkor"
git_org = "bridgecrewio"
git_repo = "terragoat"
yor_trace = "2560d883-bc3a-4cb6-b9fc-fb666edf626e"
}
}