-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
53 lines (45 loc) · 1.2 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
variable "nom_instance" {
description = "Nom de l'instance EC2"
default = "instance-ec2"
type = string
}
variable "type" {
description = "Type de l'instance EC2"
default = "t2.micro"
type = string
}
variable "user_data" {
description = "Script de démarrage de l'instance EC2"
default = ""
type = string
}
variable "nom_role" {
description = "Nom du role de l'instance EC2"
default = "EMR_EC2_DefaultRole"
type = string
}
variable "sns_topic_name" {
description = "Nom de la file SNS"
default = "QueueSNS"
type = string
}
variable "lambda_function_name" {
description = "Nom de la fonction Lambda"
default = "LambdaFunction"
type = string
}
variable "subscriber_emails" {
description = "Liste des emails des abonnés à la file SNS"
default = ["[email protected]"]
type = list(string)
}
variable "notification_message" {
description = "Notification a envoyer aux abonnés de la file SNS"
default = "Une nouvelle EC2 a été créée. id : "
type = string
}
variable "lambda_role_arn" {
description = "ARN du role de la fonction Lambda"
default = "arn:aws:iam::381492154596:role/LabRole"
type = string
}