-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
54 lines (46 loc) · 1.25 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
#######################################
# Global Variables
#######################################
variable "region" {
type = string
description = "The AWS Region"
default = "eu-west-3"
}
variable "environment" {
type = string
description = "The Environment label"
default = "test"
}
variable "tags" {
type = map(string)
description = "A map of tags"
default = {}
}
#######################################
# Variables for lambda deployment
#######################################
variable "function_name" {
type = string
description = "The lambda function name. Format lbd-{environment}-{function_name}"
default = "stream-logs"
}
variable "lambda_role_arn" {
type = string
description = "The Lambda Role ARN"
}
variable "rds_name" {
type = string
description = "The RDS Identifier for which we want stream logs"
}
variable "rds_cloudwatch_log_name" {
type = string
description = "The Name of the Cloudwatch Log for RDS Instance for which we want stream logs"
}
variable "es_domain_endpoint" {
type = string
description = "The ElasticSearch Domain endpoint"
}
variable "source_account_id" {
type = string
description = "The AWS Source Account Id"
}