Skip to content

Commit 1dbae7f

Browse files
committedMay 20, 2023
Modificações na estrutura
1 parent a4887bf commit 1dbae7f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎terraform/cloudwatch/cloudwatch.tf

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ resource "aws_cloudwatch_metric_alarm" "lambda_log_alarm" {
2626
statistic = "SampleCount"
2727
threshold = "1"
2828
alarm_actions = [var.sns_arn]
29-
#alarm_description = "Lambda Log Error Alarm"
30-
#alarm_name = "Lambda Log Error Alarm"
3129
treat_missing_data = "missing"
3230
}
3331

‎terraform/lambda/events.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import json
2+
13
def lambda_handler(event, context):
24
print("Novo objeto adicionado")
35
return {

‎terraform/s3/s3.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ variable "function_arn" {
88

99

1010
resource "aws_s3_bucket" "exemplo" {
11-
bucket = "bucket-nivea-456864"
11+
bucket = "bucket-projeto-145"
1212

1313
tags = {
1414
Name = "My bucket"

‎terraform/s3_website/s3_website.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_s3_bucket" "website" {
2-
bucket = "projetocloudnivea21"
2+
bucket = "projetocloud145"
33
}
44

55
resource "aws_s3_bucket_ownership_controls" "example" {

0 commit comments

Comments
 (0)
Please sign in to comment.