Closed benbridts closed 4 years ago
The problem is because different AWS SDK version between java plugin. This repo uses 2.10.191 but java plugin uses
2.10.49`. Ideally there should be not problem between SDK patch version but still it causes unexpected error.
A PR #29 has been submitted to fix this issue.
I'm trying to get the LogGroup provider working locally, and created a test event to do that (see https://github.com/ikben/aws-cloudformation-resource-providers-logs/blob/try-to-get-things-working/aws-logs-loggroup/sam-tests/delete.json but with the credentials filled).
However, when I run
sam local invoke TestEntrypoint --event sam-tests/delete.json
I get the following error (there was an earlier error because the handler in template.yaml was wrong, but I fixed that):I am probably doing something wrong, but I can't find what it is. Does the provider need it's own credentials outside of the ones supplied in the event?
Full output: