Skip to content

Commit ee0938d

Browse files
author
Pavel Bakhmetev
committed
fixed roles
1 parent 1ad83c1 commit ee0938d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tf-aws-rest-api-gateway/main.tf

+1-6
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,7 @@ resource "aws_cloudwatch_log_group" "this" {
9292

9393
resource "aws_cloudwatch_log_stream" "this" {
9494
name = "${module.name.id}-cloudwatch-log-stream"
95-
log_group_name = aws_cloudwatch_log_group.example.name
96-
}
97-
98-
resource "aws_iam_account_setting" "cloudwatch_logs_role_arn" {
99-
name = "${module.name.id}-cloudwatch:logs:roleArn"
100-
value = aws_iam_role.cloudwatch_logs_role.arn
95+
log_group_name = aws_cloudwatch_log_group.this.name
10196
}
10297

10398
resource "aws_iam_role" "cloudwatch_logs_role" {

0 commit comments

Comments
 (0)