-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
40 lines (32 loc) · 1 KB
/
variables.tf
File metadata and controls
40 lines (32 loc) · 1 KB
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
/// Note Issue: https://github.com/integrations/terraform-provider-github/issues/1123
variable "token" {
description = "GitHub Provider OAuth Token"
nullable = false
type = string
sensitive = true
validation {
condition = var.token != null && var.token != ""
error_message = "Cannot Specify an Empty String for GitHub Authorization Token."
}
}
variable "organization" {
description = "GitHub Provider's Owner (User or Organization)"
nullable = false
type = string
validation {
condition = var.organization != null && var.organization != ""
error_message = "Cannot Specify an Empty String for the GitHub Owner (User) or Organization."
}
}
variable "all-teams" {
description = "GitHub Organizational Team(s), All-Teams Specification"
nullable = false
type = bool
default = true
}
variable "username" {
description = "GitHub Username Access-Management Request User"
nullable = true
type = string
default = null
}