File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_log_alarm" {
26
26
statistic = " SampleCount"
27
27
threshold = " 1"
28
28
alarm_actions = [var . sns_arn ]
29
- # alarm_description = "Lambda Log Error Alarm"
30
- # alarm_name = "Lambda Log Error Alarm"
31
29
treat_missing_data = " missing"
32
30
}
33
31
Original file line number Diff line number Diff line change
1
+ import json
2
+
1
3
def lambda_handler (event , context ):
2
4
print ("Novo objeto adicionado" )
3
5
return {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ variable "function_arn" {
8
8
9
9
10
10
resource "aws_s3_bucket" "exemplo" {
11
- bucket = " bucket-nivea-456864 "
11
+ bucket = " bucket-projeto-145 "
12
12
13
13
tags = {
14
14
Name = " My bucket"
Original file line number Diff line number Diff line change 1
1
resource "aws_s3_bucket" "website" {
2
- bucket = " projetocloudnivea21 "
2
+ bucket = " projetocloud145 "
3
3
}
4
4
5
5
resource "aws_s3_bucket_ownership_controls" "example" {
You can’t perform that action at this time.
0 commit comments