forked from dasmeta/terraform-auth0-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
118 lines (101 loc) · 3.03 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// Auth0
variable "domain" {
type = string
description = "Auth0 domain"
}
variable "client-id" {
type = string
description = "Auth0 client id"
}
variable "client-secret" {
type = string
description = "Auth0 client secret"
}
// Action
variable "actions" {
type = any
default = []
description = "Actions are secure, tenant-specific, versioned functions written in Node.js that execute at certain points during the Auth0 runtime. Actions are used to customize and extend Auth0's capabilities with custom logic."
}
// Client
variable "clients" {
type = any
default = []
description = "With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications."
}
variable "client_grants" {
type = any
default = []
description = "Auth0 uses various grant types, or methods by which you grant limited access to your resources to another entity without exposing credentials."
}
// API
variable "apis" {
type = any
default = []
description = "With this resource, you can set up APIs that can be consumed from your authorized applications."
}
// Role
variable "roles" {
type = list(any)
default = [{
name = "Administrator"
description = "Administrator role"
permissions = []
}
]
description = "With this resource, you can create and manage collections of permissions that can be assigned to users, which are otherwise known as roles."
}
// Tenant
variable "tenant" {
type = list(any)
default = [{
friendly_name = ""
default_redirection_uri = ""
idle_session_lifetime = 72
session_lifetime = 168
change_password = {
enabled = "true"
html = ""
}
guardian_mfa_page = {
enabled = "true"
html = ""
}
}
]
description = "With this resource, you can manage Auth0 tenants"
}
// Auth0 Auth0 org
variable "orgs" {
type = any
default = []
description = "The Organizations feature represents a broad update to the Auth0 platform that allows our business-to-business (B2B) customers to better manage their partners and customer"
}
// Auth0 Prompt
variable "prompts" {
type = any
default = []
description = "With this resource, you can manage your Auth0 prompts, including choosing the login experience version."
}
// Auth0 db
variable "db_connections" {
type = any
default = []
description = "With Auth0, you can define sources of users, otherwise known as connections, which may include identity providers database authentication methods."
}
// Auth0 Google
variable "google" {
type = any
default = []
description = "With Auth0, you can define sources of users, otherwise known as connections, which may include identity provider Google authentication methods."
}
// Users
variable "users" {
default = []
type = list(object({
name = string
email = string
roles = list(string)
password = string
}))
}