-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
100 lines (83 loc) · 2.86 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
# ------------------------------------------------------------------------------
# Variables
# ------------------------------------------------------------------------------
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "label_order" {
type = list(any)
default = []
description = "Label order, e.g. sequence of application name and environment `name`,`environment`,'attribute' [`webserver`,`qa`,`devops`,`public`,] ."
}
variable "name" {
type = string
default = ""
description = "Names of the service accounts to create."
}
variable "module_enabled" {
type = bool
default = true
description = "Flag to control the service_account_enabled creation."
}
variable "service_account_enabled" {
type = bool
default = true
description = "Flag to control the service_account_enabled creation."
}
variable "project_id" {
type = string
default = ""
description = "The project in which the resource belongs. If it is not provided, the provider project is used."
}
variable "description" {
type = string
default = "Managed by clouddrove"
description = "A text description of the service account."
}
variable "service_account_key_enabled" {
type = bool
default = true
description = "Flag to control the service_account_enabled creation."
}
variable "key_algorithm" {
type = string
default = "KEY_ALG_RSA_2048"
description = "The algorithm used to generate the key. Possible values: `KEY_ALG_UNSPECIFIED`, `KEY_ALG_RSA_1024`, `KEY_ALG_RSA_2048`"
}
variable "public_key_type" {
type = string
default = "TYPE_X509_PEM_FILE"
description = "The output format of the public key requested."
}
variable "private_key_type" {
type = string
default = "TYPE_GOOGLE_CREDENTIALS_FILE"
description = "The output format of the private key."
}
variable "public_key_data" {
type = string
default = null
description = "Public key data to create a service account key for given service account. The expected format for this field is a base64 encoded X509_PEM and it conflicts with `public_key_type` and `private_key_type`."
}
variable "keepers" {
type = map(string)
default = null
description = "Arbitrary map of values that, when changed, will trigger a new key to be generated."
}
variable "google_service_account_iam_binding_enabled" {
type = bool
default = false
description = "Flag to control the service_account_enabled creation."
}
variable "members" {
type = list(string)
default = [""]
description = "Identities that will be granted the privilege in role."
}
variable "roles" {
description = "List of roles to be assigned to the service account"
type = list(string)
default = [""]
}