Skip to content

retry option not working #259

@okelet

Description

@okelet

Describe the bug

After creating a resource that will create during bootstrapping a log group, if I run cw immediately with the --retry option before the log group has been created, fails if the log group doesn't exist yet.

To Reproduce

Steps to reproduce the behavior:

  1. Which command
cw tail --retry -f myloggroup
  1. Which flags/arguments are used

--retry and -f.

Expected behavior

Wait for the log group to be available.

Screenshots

operation error CloudWatch Logs: FilterLogEvents, https response error StatusCode: 400, RequestID: d50a2e2f-3bdd-4337-815e-647c2b2f9205, ResourceNotFoundException: The specified log group does not exist.

Desktop (please complete the following information):

  • OS: MacOS Ventura 13.5.2 (22G91)
  • Terminal: zsh
  • cw version: 4.1.3

Additional context

Nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions