Skip to content

Commit

Permalink
fix: Attempt to use created log group for AWS for FluentBit before fa…
Browse files Browse the repository at this point in the history
…lling back to an externally created log group name (#429)

Co-authored-by: Bryant Biggs <[email protected]>
  • Loading branch information
joelhoisko and bryantbiggs authored Oct 29, 2024
1 parent d115be8 commit f84394f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ module "aws_for_fluentbit" {
},
{
name = "cloudWatchLogs.logGroupName"
value = local.aws_for_fluentbit_cw_log_group_name
value = try(aws_cloudwatch_log_group.aws_for_fluentbit[0].name, local.aws_for_fluentbit_cw_log_group_name)
},
{
name = "cloudWatchLogs.logGroupTemplate"
Expand Down

0 comments on commit f84394f

Please sign in to comment.