Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gen 1 migrations #2930

Closed
wants to merge 1 commit into from
Closed

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Oct 8, 2024

Description of changes

  • Add transformer option enableGen2Migration.
    • Set dynamodb table data source removal policy to retain when true.
    • Output a mapping of model name to table name when true.
    • This will be exposed as a feature flag to gen 1 customers.
CDK / CloudFormation Parameters Changed

New behavior is not exposed through the construct because migration is not supported from construct to gen 2.

Issue #, if available

N/A

Description of how you validated changes

  • Add transformer option enableGen2Migration.
    • Set dynamodb table data source removal policy to retain when true.
    • Output a mapping of model name to table name when true.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dpilch dpilch changed the title feat: get datasource map for migration (#2668) Gen 1 migrations Oct 8, 2024
@dpilch dpilch closed this Dec 18, 2024
@dpilch
Copy link
Member Author

dpilch commented Dec 18, 2024

Closing in favor of #3084

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