-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
88 lines (74 loc) · 2.24 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
variable "location" {
type = string
description = "Azure Region"
}
variable "resource_group" {
description = "The name of the resource group"
type = string
}
variable "service_endpoint_description" {
type = string
description = "Service endpoint description"
default = ""
}
variable "subscription_name" {
type = string
description = "Short name of subscription used for Service Connection"
default = "dev"
}
variable "role_assignment_default_role_name" {
type = string
description = "Role name for Role Assignment"
default = "Reader"
}
variable "ado_workload_identity_federation_enabled" {
type = bool
description = "Workload Identity Federation enable"
default = true
}
variable "role_assignments_allowed" {
type = bool
description = "This variable determines whether Service Principal used by Terraform can assign Roles to Azure resources"
default = true
}
variable "user_assigned_identity_name" {
type = string
description = "Specifies the name of the User Assigned Identity"
}
variable "custom_serviceendpoint_name" {
type = string
description = "Specifies the name of the ADO Service Connection"
default = ""
}
variable "custom_federated_identity_credential_name" {
type = string
description = "Specifies the name of the Federated Identity Credential"
default = ""
}
variable "ado_project_name" {
type = string
description = "ADO Project Name"
}
variable "role_assignment_scope" {
type = string
description = "ADO Service Connection target Subscription Id"
}
variable "subscription_id" {
type = string
description = "ADO Service Connection target Subscription Id"
}
variable "tenant_id" {
type = string
description = "ADO Service Connection target Tenant Id"
}
variable "key_vault_policy_config" {
description = "List of object with parameters to create Key Vault Access Policy"
type = list(object({
key_vault_name = string
key_vault_id = string
tenant_id = string
key_permissions = optional(list(string), ["Get", "List", "Encrypt", "Decrypt"])
secret_permissions = optional(list(string), ["Get", "List"])
}))
default = []
}