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
Currently the CdkResourceInvoke construct only performs database initialization, and does not retrigger when a new migration is required. It also does not fail the CDK stack if a migration fails.
To address this, instead of a SingletonLambda, a proper Lambda function should be used to allow retriggering. The Provider construct could also be used to perform database migration while CDK is deploying, however it should also be possible to manually trigger a migration.
The text was updated successfully, but these errors were encountered:
Currently the
CdkResourceInvoke
construct only performs database initialization, and does not retrigger when a new migration is required. It also does not fail the CDK stack if a migration fails.To address this, instead of a
SingletonLambda
, a proper Lambda function should be used to allow retriggering. TheProvider
construct could also be used to perform database migration while CDK is deploying, however it should also be possible to manually trigger a migration.The text was updated successfully, but these errors were encountered: