You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our API keys got deleted & recreated when we migrated this plugin from v1 -> v2.
We traced the issue to the naming of the keys in the CloudFormation template.
V1: GraphQlApiourname
V2: GraphQlApiKeyourname
Note the added Key string. This causes CloudFormation to delete existing keys and create new ones.
Luckily we caught this in staging, so we are working around the problem now by manually adding a new key to the AppSync instance via AWS console, using that one until the updated CloudFormation stack is deployed, and then deploying our clients with the newly generated keys.
This is probably impossible to resolve now, because "fixing" it would break projects using the v2 version, but we should maybe add something to the migration docs?
The text was updated successfully, but these errors were encountered:
Our API keys got deleted & recreated when we migrated this plugin from v1 -> v2.
We traced the issue to the naming of the keys in the CloudFormation template.
V1:
GraphQlApiourname
V2:
GraphQlApiKeyourname
Note the added
Key
string. This causes CloudFormation to delete existing keys and create new ones.Luckily we caught this in staging, so we are working around the problem now by manually adding a new key to the AppSync instance via AWS console, using that one until the updated CloudFormation stack is deployed, and then deploying our clients with the newly generated keys.
This is probably impossible to resolve now, because "fixing" it would break projects using the v2 version, but we should maybe add something to the migration docs?
The text was updated successfully, but these errors were encountered: