forked from GoogleCloudPlatform/notebooks-blueprint-security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
105 lines (88 loc) · 3.17 KB
/
variables.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/**
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
variable "vpc_perimeter_regions" {
description = "2 letter identifier for regions allowed for VPC access. A valid ISO 3166-1 alpha-2 code."
type = list(string)
}
variable "vpc_perimeter_policy_name" {
description = "Policy name for VPC service control perimeter."
type = string
default = "higher_trust_perimeter_policy"
}
variable "vpc_perimeter_ip_subnetworks" {
description = "IP subnets for perimeters."
type = list(string)
}
variable "zone" {
description = "The zone in which to create the secured notebook. Must match the region."
type = string
}
variable "resource_locations" {
description = "The locations used in org policy to limit where resources can be provisioned."
type = list(string)
default = ["in:us-locations", "in:eu-locations"]
}
variable "default_policy_id" {
description = "The id of the default org policy."
type = string
}
variable "project_trusted_analytics" {
description = "The trusted project for analytics activities and data scientists."
type = string
}
variable "project_trusted_data" {
description = "The trusted project that has PII data for notebooks."
type = string
}
variable "bootstrap_notebooks_bucket_name" {
description = "Bucket name to create bootstrap scripts for notebooks."
type = string
default = "notebook_bootstrap"
}
variable "project_trusted_kms" {
description = "Top level trusted environment folder that will house the encryption keys."
type = string
}
variable "trusted_private_network" {
description = "Network with no external IP for Notebooks. Should be a restricted private VPC."
type = string
}
variable "trusted_private_subnet" {
description = "Subnet with no external IP for Notebooks. Should be part of a restricted private network and have logs and private network enabled."
type = string
}
variable "confidential_groups" {
description = "The list of groups allowed to access PII data."
type = list(string)
}
variable "trusted_scientists" {
description = "The list of trusted users."
type = list(string)
}
variable "notebook_key_name" {
description = "HSM key used to protect PII data in Notebooks."
type = string
default = "trusted-data-key"
}
variable "dataset_id" {
description = "BigQuery dataset ID with PII data that your scientists need to access from their Notebook."
type = string
}
variable "notebook_name_prefix" {
description = "Prefix for notebooks indicating in higher trusted environment."
type = string
default = "trusted-sample"
}