-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.tf
116 lines (96 loc) · 3.5 KB
/
variable.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
106
107
108
109
110
111
112
113
114
115
/**
* 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 "project_id" {
description = "Google Cloud Project where Workforce Identity pool and provider will be deployed"
}
variable "enable_apis" {
description = "Whether to actually enable the APIs. If false, this module is a no-op."
default = "true"
}
variable "activate_apis" {
description = "The list of apis to activate for Cloud Function"
default = ["sts.googleapis.com", "iamcredentials.googleapis.com", "cloudresourcemanager.googleapis.com", "iam.googleapis.com", "cloudasset.googleapis.com", "securitycenter.googleapis.com", "pubsub.googleapis.com", "compute.googleapis.com", "recommender.googleapis.com", "policyanalyzer.googleapis.com"]
type = list(string)
}
variable "disable_services_on_destroy" {
description = "Whether project services will be disabled when the resources are destroyed. https://www.terraform.io/docs/providers/google/r/google_project_service.html#disable_on_destroy"
default = "false"
type = string
}
variable "disable_dependent_services" {
description = "Whether services that are enabled and which depend on this service should also be disabled when this service is destroyed. https://www.terraform.io/docs/providers/google/r/google_project_service.html#disable_dependent_services"
default = "false"
type = string
}
variable "org_id" {
description = "The numeric organization id"
type = string
}
variable "workforce_pool_id" {
type = string
description = "workforce pool id"
}
variable "workforce_provider_id" {
type = string
description = "workforce provider id"
}
variable "idp_metadata_xml" {
type = string
description = "How to print out in one string. Copy print_metadata_xml.py script under build directory to /tmp with your idp metadata file named GoogleIDPMetadata.xml. Run script to print out in one line"
}
variable "location" {
type = string
description = "Location of the Workforce Pool"
}
variable "display_name" {
type = string
default = "Chronicle Single Sign On"
description = "Display name of the Pool"
}
variable "description" {
type = string
default = "Chronicle Single Sign On"
description = "Description of the Pool"
}
variable "disabled" {
type = bool
default = false
description = "Enable the Workforce Pool"
}
variable "session_duration" {
type = string
default = "3600s"
description = "Session Duration"
}
variable "attribute_mapping" {
type = map(string)
description = "attribute list"
}
variable "prefix" {
description = "Prefix member or group or serviceaccount"
type = string
default = "principalSet"
}
variable "role" {
description = "IAM role for Chronicle Viewer"
type = string
default = "roles/chronicle.viewer"
}
variable "soar_service_account" {
description = "Name of Service Account for SOAR to Google Cloud"
type = string
default = "soar2googlecloud"
}