Skip to content

Commit

Permalink
fixed aws_api_gateway_stage definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Bakhmetev committed Sep 18, 2024
1 parent dc86526 commit eb605ca
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 @@ -65,7 +65,7 @@ resource "aws_api_gateway_stage" "this" {
for_each = local.create_log_group ? [1] : []

content {
destination_arn = aws_cloudwatch_log_group.this.arn
destination_arn = aws_cloudwatch_log_group.this[0].arn
format = replace(var.access_log_format, "\n", "")
}
}
Expand Down

0 comments on commit eb605ca

Please sign in to comment.