-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
72 lines (61 loc) · 1.12 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
######################
# VARIABLES |
######################
# General
# -------
variable "prefix" {}
variable "common_tags" {
type = map(string)
}
# Github
# ----------
variable "github" {
description = "A map of strings with GitHub specific variables"
type = object({
owner = string
connection_arn = string
webhook_secret = string
})
}
variable "pre_release" {
default = true
}
variable "github_repository" {
type = object({
name = string
branch = string
})
}
# Commons
# --------
variable "s3_artifacts" {
type = object({
bucket = string
arn = string
})
}
# Lambda
# ------
variable "lambda" {
type = object({
arn = string
name = string
alias = string
runtime = string
})
}
variable "app_src_path" {
default = "sources"
}
variable "packages_descriptor_path" {
default = "sources/requirements/lambda.txt"
}
# Notification
# ------------
variable "ci_notifications_slack_channels" {
description = "Slack channel name for notifying ci pipeline info/alerts"
type = object({
info = string
alert = string
})
}