forked from dasmeta/terraform-auth0-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auth0-tenant.tf
23 lines (22 loc) · 1.31 KB
/
auth0-tenant.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module "auth0-tenant" {
source = "./modules/auth0-tenant"
for_each = { for v in var.tenant : v.friendly_name => v }
friendly_name = each.value.friendly_name
allowed_logout_urls = lookup(each.value, "allowed_logout_urls", null)
default_audience = lookup(each.value, "default_audience", null)
picture_url = lookup(each.value, "picture_url", null)
enabled_locales = lookup(each.value, "enabled_locales", null)
change_password = each.value.change_password
guardian_mfa_page = lookup(each.value, "guardian_mfa_page", [])
default_redirection_uri = each.value.default_redirection_uri
sandbox_version = each.value.sandbox_version
error_page = lookup(each.value, "error_page", [])
default_directory = lookup(each.value, "default_directory", null)
support_email = lookup(each.value, "support_email", null)
support_url = lookup(each.value, "support_url", null)
session_lifetime = lookup(each.value, "session_lifetime", null)
idle_session_lifetime = lookup(each.value, "idle_session_lifetime", null)
session_cookie = lookup(each.value, "session_cookie", null)
universal_login = lookup(each.value, "universal_login", [])
flags = lookup(each.value, "flags", {})
}