Skip to content

Commit

Permalink
fixed aws_cloudwatch_log_stream definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Bakhmetev committed Sep 18, 2024
1 parent ee0938d commit 270775b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf-aws-rest-api-gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ resource "aws_cloudwatch_log_group" "this" {

resource "aws_cloudwatch_log_stream" "this" {
name = "${module.name.id}-cloudwatch-log-stream"
log_group_name = aws_cloudwatch_log_group.this.name
log_group_name = aws_cloudwatch_log_group.this[0].name
}

resource "aws_iam_role" "cloudwatch_logs_role" {
Expand Down

0 comments on commit 270775b

Please sign in to comment.