serverless-appsync-plugin icon indicating copy to clipboard operation
serverless-appsync-plugin copied to clipboard

cannot deploy with 1.1.2 coming from 1.0.9

Open majorgilles opened this issue 4 years ago • 1 comments

Hello, unfortunately I cannot deploy with the newest version of the plugin

The error message is the following:

 An error occurred: GraphQlApiLogGroup - /aws/appsync/apis/{my_private_log_group} already exists.

So, it sounds like the plugin is trying to recreate an already existing log group in the CF stack but there might be another explanation.

This happened with 2 separate deployments in dev and staging environments, so not an isolated one off issue.

majorgilles avatar Dec 20 '19 15:12 majorgilles

Hi @majorgilles This is a known issue

Did this happen when you deployed with an older version of the plugin (<= 1.1.0), then upgraded to the latest?

For now, the solution is to delete the existing log group, it will then be recreated.

I'll think of a solution for this as it seems to be affecting many people.

bboure avatar Dec 20 '19 16:12 bboure