Skip to content

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
@github-actions

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
karanA-aws pushed a commit to karanA-aws/aws-toolkit-vscode that referenced this pull request Jan 17, 2025
…ogGroup aws#5986

## 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.
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