-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
66 lines (56 loc) · 1.65 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
variable "azure_subscription_id" {
description = "Azure subscription ID"
type = string
default = null
}
variable "azure_owner_object_id" {
description = "Azure AD application owner object ID"
type = string
default = null
}
variable "azure_application_name" {
description = "Name of the Azure AD application"
type = string
}
variable "azure_application_api_access" {
description = "List of API access permissions for the Azure AD application"
type = list(object({
api_name = string
role_permissions = list(string)
scope_permissions = list(string)
}))
default = []
}
variable "azure_service_principal_subscription_roles" {
description = "Set of subscription roles to assign to the service principal"
type = set(string)
default = []
}
variable "github_repository_owner" {
description = "Owner of the GitHub repository"
type = string
}
variable "github_repository_name" {
description = "Name of the GitHub repository"
type = string
}
variable "github_repository_branches" {
description = "List of branches to create federated credentials for"
type = set(string)
default = []
}
variable "github_repository_tags" {
description = "List of tags to create federated credentials for"
type = set(string)
default = []
}
variable "github_repository_environments" {
description = "List of environments to create federated credentials for"
type = set(string)
default = []
}
variable "github_repository_pull_request" {
description = "Create federated credentials for pull requests"
type = bool
default = false
}