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(cwl): LiveTail fails to start when clicking with Play next to a LogGroup #5986

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

keeganirby
Copy link
Contributor

@keeganirby keeganirby commented Nov 12, 2024

Problem

Starting a LiveTail session by clicking Play next to a specific LogGroup in the explorer menu is failing. This is because the LogGroup name is passed into the Wizard response, and not a fully qualified Arn.

StartLiveTail API request requires ARNs.

Solution

Detect if the context when initializing the TailLogGroup wizard is a LogGroup Name or Arn. If it is just a name, construct the Arn and set that in the Wizard response.

Renames LogGroupName in LiveTailSession to LogGroupArn to make it more clear what is expected.


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

… from Explorer. Rename LogGroupName to LogGroupArn in LiveTail
@keeganirby keeganirby requested a review from a team as a code owner November 12, 2024 20:18

This comment was marked as resolved.

@justinmk3 justinmk3 changed the title fix(cwl): Convert LogGroupName to ARN from CWLGroupInfo fix(cwl): LiveTail fails to start when clicking with Play next to a specific LogGroup Nov 12, 2024
@justinmk3 justinmk3 changed the title fix(cwl): LiveTail fails to start when clicking with Play next to a specific LogGroup fix(cwl): LiveTail fails to start when clicking with Play next to a LogGroup Nov 12, 2024
@justinmk3 justinmk3 merged commit 5b80409 into aws:feature/cwltail Nov 12, 2024
31 of 47 checks passed
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.

2 participants