Skip to content

Conversation

@TheWesDias
Copy link

This PR fixes a bug in retrieving AWS CloudWatch event targets.
Previously, the code was incorrectly using the token from the ListRules call instead of the one from ListTargetsByRule.

As a result, the following error occurred when attempting to import CloudWatch events:

aws error initializing resources in service cloudwatch, err: operation error CloudWatch Events: ListTargetsByRule, https response error StatusCode: 400, RequestID: 3509aae3-fe4e-49e3-8a93-9f8cd4ea66ca, api error ValidationException: Parameter NextToken is not valid.

@TheWesDias
Copy link
Author

Hi @sergeylanzman , Could you review this pr ?

@TheWesDias
Copy link
Author

This PR addresses this discussion #1241

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.

1 participant