feat: codegen end to end structure implementation#14305
Merged
kaizencc merged 8 commits intoaws-amplify:gen2-migrationfrom Oct 30, 2025
Merged
feat: codegen end to end structure implementation#14305kaizencc merged 8 commits intoaws-amplify:gen2-migrationfrom
kaizencc merged 8 commits intoaws-amplify:gen2-migrationfrom
Conversation
| import { AmplifyStackParser } from './amplify_stack_parser'; | ||
| import { AppFunctionsDefinitionFetcher } from './app_functions_definition_fetcher'; | ||
| // import { TemplateGenerator, ResourceMapping } from '@aws-amplify/migrate-template-gen'; // Package not available | ||
| import { printer } from './printer'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
kaizencc
approved these changes
Oct 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR completes the end-to-end structural implementation of the codegen part of the migration tool. Core files are reused from the old migration tool. In totality, the following functionality is added:
Adapter files for supported resources - Auth, data, functions, and storage adapters that transform Gen1 configurations to Gen2 format
Fetcher files for supported resources - Resource definition fetchers that extract configurations from Gen1 backend environments
A new migration head folder with migration handling files -
Dependency updates and runtime compatibility fixes - Minor change to custom resources: Added null check and type validation to AST transformer logic (accommodates TypeScript version upgrade behavior change)
Added yargs support in the commands
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.