Skip to content

fix(logs): respect region when importing log group - #18215

Merged
mergify[bot] merged 9 commits into
aws:masterfrom
kornicameister:fix_18214
Jan 4, 2022
Merged

mergify[bot] merged 9 commits into
aws:masterfrom
kornicameister:fix_18214

Conversation

@kornicameister

Copy link
Copy Markdown
Contributor

When log group is imported it is crucial to preserve an information
about region where log group exists. Without that information it is not possible
to implement cross region logging.

fixes #18214


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

When log group is imported it is crucial to preserve an information
about region where log group exists. Without that information it is not possible
to implement cross region logging.

fixes aws#18214
@gitpod-io

gitpod-io Bot commented Dec 29, 2021

Copy link
Copy Markdown

@kornicameister

Copy link
Copy Markdown
Contributor Author

@comcalvi what has changed in master setup that build here fails?

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good @kornicameister! One comment about the test.

@mergify
mergify Bot dismissed skinny85’s stale review January 4, 2022 09:50

Pull request has been modified.

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great @kornicameister! A few tiny changes that I'll apply myself.

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix @kornicameister!

@kornicameister

Copy link
Copy Markdown
Contributor Author

LOL, I was just trying to pushfixes for your comments @skinny85 and been wondering why commit is rejected :D

@kornicameister

Copy link
Copy Markdown
Contributor Author

Anyway, I've just made a PR and fix is actually on you @skinny85 . I wouldn't be so fast if you didn't tell me exact API portion to look at. So thanks and cheers to you ! 👍

@skinny85

skinny85 commented Jan 4, 2022

Copy link
Copy Markdown
Contributor

My pleasure @kornicameister, but you did do a lot of work, it definitely wasn't just me. It was a good collaboration 🙂.

@kornicameister

Copy link
Copy Markdown
Contributor Author

My pleasure @kornicameister, but you did do a lot of work, it definitely wasn't just me. It was a good collaboration 🙂.

Likewise :-)

@mergify

mergify Bot commented Jan 4, 2022

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 88bec73
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
mergify Bot merged commit be909bc into aws:master Jan 4, 2022
@mergify

mergify Bot commented Jan 4, 2022

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@kornicameister
kornicameister deleted the fix_18214 branch January 4, 2022 22:33
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
When log group is imported it is crucial to preserve an information
about region where log group exists. Without that information it is not possible
to implement cross region logging.

fixes aws#18214

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
When log group is imported it is crucial to preserve an information
about region where log group exists. Without that information it is not possible
to implement cross region logging.

fixes aws#18214

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-logs Related to Amazon CloudWatch Logs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(logs): Importing log group ignores region

4 participants