-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
100 lines (82 loc) · 2.78 KB
/
variables.tf
File metadata and controls
100 lines (82 loc) · 2.78 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
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
variable "management_region_aws" {
type = string
description = "AWS-specific `Management` Region Identifier."
}
# see https://registry.terraform.io/providers/okta/okta/latest/docs#org_name
variable "okta_org_name" {
type = string
description = "This is the organization name of your Okta account."
}
# see https://registry.terraform.io/providers/okta/okta/latest/docs#api_token
# and https://<Okta subdomain>-admin.okta.com/admin/access/api/tokens
variable "okta_api_token" {
type = string
description = "This is the API token to interact with your Okta organization."
sensitive = true
}
# see https://registry.terraform.io/providers/okta/okta/latest/docs#backoff
variable "okta_backoff" {
type = bool
description = "Whether to use exponential back off strategy for rate limits."
default = true
}
# see https://registry.terraform.io/providers/okta/okta/latest/docs#base_url
variable "okta_base_url" {
type = string
description = "This is the base URL of your Okta account."
default = "okta.com" # generally either `okta.com` or `oktapreview.com`, but other values are possible (specifically: PubSec settings)
}
variable "okta_social_login_github_client_id" {
type = string
description = "Okta Social Login GitHub Client ID."
}
variable "okta_social_login_github_client_secret" {
type = string
description = "Okta Social Login GitHub Client Secret."
sensitive = true
}
variable "password_recipe" {
type = object({
unlock_minutes = number
email_token_lifetime = number
history_count = number
max_age = number
max_attempts = number
min_length = number
recovery_email_token_lifetime = number
require_lowercase = bool
require_uppercase = bool
require_symbols = bool
require_numbers = bool
})
description = "Complex Object of configuration for Password Recipes."
default = {
# value in minutes
unlock_minutes = 10
# value in minutes
email_token_lifetime = 10
# value in counts of password iterations
history_count = 2
# value in days
max_age = 92
# value in counts of incorrect password submissions
max_attempts = 5
# value in characters
min_length = 12
# value in minutes
recovery_email_token_lifetime = 60
require_lowercase = true
require_uppercase = true
require_symbols = true
require_numbers = true
}
}
variable "project_identifier" {
type = string
description = "Human-readable Project Identifier."
}
variable "tfe_team_token_viewers" {
type = string
description = "HCP Terraform `viewers` Team Token."
sensitive = true
}