Skip to content

Modularize logging components #781

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

Conversation

felipecrescencio-cit
Copy link
Contributor

Fix issue #674.
PR changes:

  • New inline module that centralizes logging configuration based on SDW module and adapted to support projects, folders, and organizations
  • It supports all logging destinations: bigquery, storage, pubsub, and logbucket
  • Support to logbucket destination was added on May 31 on log-export module and now it is supported by the example foundation
  • Changed logging in 1-org to use the new module

NOTE

Before merging this PR is required to release log-export module PR 119 to get fixes in logbucket destination. This PR is referencing logbucket submodule GitHub master branch.

felipecrescencio-cit and others added 19 commits July 13, 2022 19:03

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
-Added logbucket as new logging destination
Co-authored-by: Daniel Andrade <dandrade@ciandt.com>
Co-authored-by: Daniel Andrade <dandrade@ciandt.com>
Co-authored-by: Daniel Andrade <dandrade@ciandt.com>
-Improve code readability using maps and lookup
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @felipecrescencio-cit
Some initial comments

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
@felipecrescencio-cit felipecrescencio-cit force-pushed the modularize-logging-components branch from 96640b7 to 546c730 Compare August 25, 2022 12:41
@felipecrescencio-cit felipecrescencio-cit marked this pull request as draft August 25, 2022 13:28
@felipecrescencio-cit felipecrescencio-cit marked this pull request as ready for review August 30, 2022 12:04
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly minor nits, this looks great!

@bharathkkb bharathkkb merged commit a1d636e into terraform-google-modules:master Sep 7, 2022
@felipecrescencio-cit felipecrescencio-cit deleted the modularize-logging-components branch September 8, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants