Skip to content

Commit 51b7ebe

Browse files
committed
init default email
1 parent 0954147 commit 51b7ebe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

modules/SNS/resources.tf

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ resource "aws_sns_topic_subscription" "email_subscription" {
2929
topic_arn = aws_sns_topic.sns_topic.arn
3030
protocol = "email"
3131
endpoint = var.subscriber_emails[count.index]
32-
}
33-
32+
}

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ variable "lambda_function_name" {
3636

3737
variable "subscriber_emails" {
3838
description = "Liste des emails des abonnés à la file SNS"
39-
default = [""]
39+
default = ["[email protected]"]
4040
type = list(string)
4141
}
4242

0 commit comments

Comments
 (0)