-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
99 lines (85 loc) · 1.84 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
######################
# VARIABLES |
######################
# General
# -------
variable "prefix" {}
variable "common_tags" {
type = map(string)
}
variable "stage_name" {
description = "The API stage name"
}
variable "apigw_endpoint" {
description = "The api custom domain name or api invoke url"
}
# --
variable "s3_artifacts" {
type = object({
bucket = string
arn = string
})
}
# CI
# ------------
variable "ci_notifications_slack_channels" {
description = "Slack channel name for notifying ci pipeline info/alerts"
type = object({
info = string
alert = string
})
}
variable "github" {
description = "A map of strings with GitHub specific variables"
type = object({
owner = string
connection_arn = string
webhook_secret = string
})
}
variable "pre_release" {
type = bool
default = true
}
variable "github_repositories" {
type = object({
authorizer = object({
name = string
branch = string
})
pusher = object({
name = string
branch = string
})
})
default = {
authorizer = {
name = "apigw-jwt-authorizer"
branch = "main"
}
pusher = {
name = "apigw-websocket-pusher"
branch = "main"
}
}
}
# --
variable "issuer_jwks_uri" {
description = "The issuer JWKs URI"
type = string
}
variable "authorized_audiences" {
description = "The list to authorized audiences (app clients), leave empty to allow all"
type = list(string)
default = []
}
variable "verify_token_expiration" {
description = "Set to true for testing mode"
type = bool
}
# --
variable "presence_source" {
type = string
default = "topic"
description = "As a user of this stack, from where you want to get presence event, topic, queue or directly from dynamodb stream"
}