Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Attempt to use created log group for AWS for FluentBit before falling back to an externally created log group name #429

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

joelhoisko
Copy link
Contributor

@joelhoisko joelhoisko commented Oct 29, 2024

What does this PR do?

🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Change the cloudWatchLogs.logGroupName fluentbit helm chart value to match the created log group. Might not work if the log group doesn't exist, haven't tested this yet etc.

Motivation

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I ran pre-commit run -a with this PR

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

I saw the this closed PR also fixed the issue and also works when the log group doesn't exist.

@joelhoisko joelhoisko changed the title Fix fluentbit log group name in helm chart values fix: When using enable_aws_for_fluentbit = true use the name of the created log group in the fluentbit config Oct 29, 2024
main.tf Outdated Show resolved Hide resolved
@bryantbiggs bryantbiggs marked this pull request as ready for review October 29, 2024 14:46
@bryantbiggs bryantbiggs requested a review from a team as a code owner October 29, 2024 14:46
@bryantbiggs bryantbiggs changed the title fix: When using enable_aws_for_fluentbit = true use the name of the created log group in the fluentbit config fix: Attempt to use created log group for AWS for FluentBit before falling back to an externally created log group name Oct 29, 2024
@bryantbiggs bryantbiggs merged commit f84394f into aws-ia:main Oct 29, 2024
7 checks passed
@joelhoisko joelhoisko deleted the patch-1 branch October 29, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants