-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
57 lines (48 loc) · 1.35 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
variable "application_name" {
type = string
description = "Name of the application that can access us"
}
variable "accounts" {
type = list(object({
name = string
authorized_principals = list(string)
scope = list(string)
}))
}
variable "domain" {
type = string
description = "Auth0 domain used for authentication"
}
variable "audience" {
type = string
description = "The audience that the client needs to verify against. This is the identifier of the resource_server"
}
variable "allowed_grant_types" {
type = list(string)
description = "The grants that the auth0 client will give"
default = [
"client_credentials"
]
}
variable "region" {
type = string
default = "eu-central-1"
description = "Region to create secrets in"
}
variable "application_type" {
type = string
default = "non_interactive"
description = "Application type for the client."
}
variable "tags" {
default = {}
type = map (string)
description = "Tags for the AWS resources"
}
variable "deletion_window" {
default = 7
description = "Deletion window in which the secret can be recovered"
}
locals {
root_account = "arn:aws:iam::${data.aws_caller_identity.identity.account_id}:root"
}