Skip to content

(gen2-migration): refactor fails with ValidationError Parameters must have values without clear information #14902

Description

@Niush

How did you install the Amplify CLI?

No response

If applicable, what version of Node.js are you using?

20.19.0

Amplify CLI Version

14.5.0

What operating system are you using?

Windows 11

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No manual changes made, as far as I can tell.

Describe the bug

When trying to run amplify gen2-migration refactor --to amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f --skip-validations, I get the following error after some refactors are complete.

→ Planning complete

You are about to execute 'refactor' on environment 'bctap/dev'.

Operations Summary

Resource: auth/bctap (Cognito)

1. Prepare source 'amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D' for resource move (replace inter-resource references with concrete values)
2. Prepare target 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' for resource move (replace inter-resource references with concrete values)

https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/changesets/changes?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A654734274368%3Astack%2Famplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R%2Fae80a600-5e74-11f1-bdf8-0e25f66a6641&changeSetId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A654734274368%3AchangeSet%2Fgen2-migration-1780403271093%2F56ce205f-492d-40c8-b0b4-8ae77b9b52c6

amplifyAuthUserPool4BA7F805 (AWS::Cognito::UserPool) Modify
  /Properties/EmailVerificationMessage     (-) (Truncated-Signature):a369d91d3d95c5a65f33636be2f29eb4c7262dc557ad247a098fab2a774fe813 → (+) (Truncated-Signature):f64e619ea9f5b166709386dcd7a05aa68209b8a48879ee97874c662830e72e2d
  /Properties/VerificationMessageTemplate  (-) (Truncated-Signature):d6dde91844413051c950a5a293d31cf0f5eabd9dda53e71d9693b66f4a67c0eb → (+) (Truncated-Signature):0a617526338452b8334473144434cd5a212a20da74cf12d8b3b2778ab73614a5
3. Move 5 resource(s) from 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' to 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R-holding'

┌───────────────────────────────────────────────┬───────────────────────────────────────────────┐
│ Source Logical ID                             │ Target Logical ID                             │
├───────────────────────────────────────────────┼───────────────────────────────────────────────┤
│ amplifyAuthUserPool4BA7F805                   │ amplifyAuthUserPool4BA7F805                   │
├───────────────────────────────────────────────┼───────────────────────────────────────────────┤
│ amplifyAuthUserPoolNativeAppClient79534448    │ amplifyAuthUserPoolNativeAppClient79534448    │
├───────────────────────────────────────────────┼───────────────────────────────────────────────┤
│ amplifyAuthUserPoolAppClient2626C6F8          │ amplifyAuthUserPoolAppClient2626C6F8          │
├───────────────────────────────────────────────┼───────────────────────────────────────────────┤
│ amplifyAuthIdentityPool3FDE84CC               │ amplifyAuthIdentityPool3FDE84CC               │
├───────────────────────────────────────────────┼───────────────────────────────────────────────┤
│ amplifyAuthIdentityPoolRoleAttachment045F17C8 │ amplifyAuthIdentityPoolRoleAttachment045F17C8 │
└───────────────────────────────────────────────┴───────────────────────────────────────────────┘
4. Orphan 3 social auth resource(s) from 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R'

┌──────────────────────────────────────────┬───────────────────────────────────────────┬────────────────────────────────────────┐
│ PhysicalId                               │ Logical ID                                │ Type                                   │
├──────────────────────────────────────────┼───────────────────────────────────────────┼────────────────────────────────────────┤
│ us-east-1_dZkkx6oZp/0b8da1c913a3fe67236a │ amplifyAuthUserPoolUserPoolDomain1F688B5B │ AWS::Cognito::UserPoolDomain           │
├──────────────────────────────────────────┼───────────────────────────────────────────┼────────────────────────────────────────┤
│ us-east-1_dZkkx6oZp/Google               │ amplifyAuthGoogleIdPA9736819              │ AWS::Cognito::UserPoolIdentityProvider │
├──────────────────────────────────────────┼───────────────────────────────────────────┼────────────────────────────────────────┤
│ us-east-1_dZkkx6oZp/SignInWithApple      │ amplifyAuthAppleIDP69355A74               │ AWS::Cognito::UserPoolIdentityProvider │
└──────────────────────────────────────────┴───────────────────────────────────────────┴────────────────────────────────────────┘
5. Move 5 resource(s) from 'amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D' to 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R'

┌─────────────────────┬───────────────────────────────────────────────┐
│ Source Logical ID   │ Target Logical ID                             │
├─────────────────────┼───────────────────────────────────────────────┤
│ UserPool            │ amplifyAuthUserPool4BA7F805                   │
├─────────────────────┼───────────────────────────────────────────────┤
│ UserPoolClientWeb   │ amplifyAuthUserPoolAppClient2626C6F8          │
├─────────────────────┼───────────────────────────────────────────────┤
│ UserPoolClient      │ amplifyAuthUserPoolNativeAppClient79534448    │
├─────────────────────┼───────────────────────────────────────────────┤
│ IdentityPool        │ amplifyAuthIdentityPool3FDE84CC               │
├─────────────────────┼───────────────────────────────────────────────┤
│ IdentityPoolRoleMap │ amplifyAuthIdentityPoolRoleAttachment045F17C8 │
└─────────────────────┴───────────────────────────────────────────────┘
6. Import social auth resources into 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R'

┌──────────────────────────────────────┬───────────────────────────────────────────┐
│ Physical ID                          │ Target Logical ID                         │
├──────────────────────────────────────┼───────────────────────────────────────────┤
│ us-east-1_SnXsQcDSa/efuz0svfgel8-dev │ amplifyAuthUserPoolUserPoolDomain1F688B5B │
├──────────────────────────────────────┼───────────────────────────────────────────┤
│ us-east-1_SnXsQcDSa/Google           │ amplifyAuthGoogleIdPA9736819              │
├──────────────────────────────────────┼───────────────────────────────────────────┤
│ us-east-1_SnXsQcDSa/SignInWithApple  │ amplifyAuthAppleIDP69355A74               │
└──────────────────────────────────────┴───────────────────────────────────────────┘

Implications

• Stateful resources (Cognito, S3, DynamoDB, Kinesis, etc...) will be moved from Gen1 to Gen2 CloudFormation stacks — Gen2 will own them going forward

(You can rollback this command by running: 'amplify gen2-migration refactor --rollback')

⚠️  This command is in developer preview. For more information, visit https://docs.amplify.aws/react/start/migrate-to-gen2

[2026-06-02T12:29:50.454Z] [refactor] [bctap/dev] • Execute
[2026-06-02T12:29:50.463Z] [refactor] [bctap/dev] • [auth/bctap] Executing change set for stack: amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D
[2026-06-02T12:29:56.771Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack update to complete: amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D
[2026-06-02T12:30:33.414Z] [refactor] [bctap/dev] • [auth/bctap] Executing change set for stack: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:30:34.207Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack update to complete: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:31:10.480Z] [refactor] [bctap/dev] • [auth/bctap] Refactoring amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R → amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R-holding
[2026-06-02T12:31:12.106Z] [refactor] [bctap/dev] • [auth/bctap] Creating stack refactor: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R → amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R-holding
[2026-06-02T12:31:13.562Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack refactor creation to complete: e15e05f1-d275-420c-9bcb-a3b0adbbc659
[2026-06-02T12:31:25.996Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack refactor execution to complete: e15e05f1-d275-420c-9bcb-a3b0adbbc659
[2026-06-02T12:33:07.178Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for source stack update: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:33:07.496Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for destination stack: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R-holding
[2026-06-02T12:33:07.811Z] [refactor] [bctap/dev] • [auth/bctap] Finished refactoring amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R → amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R-holding
[2026-06-02T12:33:08.756Z] [refactor] [bctap/dev] • [auth/bctap] Updating stack: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:33:09.785Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack update to complete: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:33:45.191Z] [refactor] [bctap/dev] • [auth/bctap] Refactoring amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D → amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:33:46.503Z] [refactor] [bctap/dev] • [auth/bctap] Creating stack refactor: amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D → amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:33:47.429Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack refactor creation to complete: 9faa9896-0c1c-4c63-a3bd-4611ae718923
[2026-06-02T12:34:00.278Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for stack refactor execution to complete: 9faa9896-0c1c-4c63-a3bd-4611ae718923
[2026-06-02T12:35:22.429Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for source stack update: amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D
[2026-06-02T12:35:23.018Z] [refactor] [bctap/dev] • [auth/bctap] Waiting for destination stack: amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:35:23.338Z] [refactor] [bctap/dev] • [auth/bctap] Finished refactoring amplify-bctap-dev-f9fe5-authbctap-1H0BEYWKHCX8D → amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R
[2026-06-02T12:35:23.966Z] [refactor] [bctap/dev] • [auth/bctap] Creating import changeset for amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R (3 resource(s))

🛑 Failed: ValidationError: Parameters: [referencetoamplifyd2bo93s83xuds8gen2devbranch4b58bcdb5ffunctionNestedStackfunctionNestedStackResource8D59BD41Outputsamplifyd2bo93s83xuds8gen2devbranch4b58bcdb5ffunctionaddUserToDatabaselambda2466B7E5Arn] must have values

🛑 Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.

Then I tried to rollback with: amplify gen2-migration refactor --to amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f --rollback --skip-validations, but it did not allow with this error:

→ Planning failed

🛑 Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.

So, I am literally stuck with no way to continue or rollback. Please review or suggest a resolution. Thanks.

Expected behavior

Either the error message should be made clearer, or the gen2-migration tool should fix the related issue, if any.

Reproduction steps

N/A

Project Identifier

DiagnoseReportUploadError 🤷‍♂️

Log output

Details
# Put your logs below this line

2026-06-01T18:55:15.946Z|info : amplify gen2-migration core lock {"rollback":true,"yes":false}
2026-06-01T18:55:15.991Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-01T18:55:19.720Z|error : No Amplify backend project files detected within this folder.
ProjectNotInitializedError: No Amplify backend project files detected within this folder.
2026-06-02T08:09:43.929Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:09:44.010Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:11:12.703Z|info : amplify-provider-awscloudformation.amplify-service-permission-check.checkAmplifyServiceIAMPermission.amplifyClient.listApps([])
2026-06-02T08:11:17.742Z|info : amplify-provider-awscloudformation.attach-backend.getAmplifyApp.amplifyClient.getApp([{"appId":"[***]3xuds8"}])
2026-06-02T08:11:18.157Z|info : amplify-provider-awscloudformation.attach-backend.getBackendEnv.amplifyClient.getBackendEnvironment([{"appId":"[***]3xuds8","environmentName":"[***]est"}])
2026-06-02T08:11:18.741Z|info : amplify-provider-awscloudformation.attach-backend.downloadBackend.s3.getObject([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:13:26.079Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2026-06-02T08:13:26.082Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:13:35.414Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:13:47.402Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.listStackResources([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:13:52.896Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:13:53.239Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]mLambdaStack-[***]WVRU7/[***]fed0-[***]8f-[***]f1-[***]a7-[***]f3ffd"}])
2026-06-02T08:13:53.240Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]ctap-[***]12ZYGF/[***]60a0-[***]8f-[***]f1-[***]4f-[***]a4b0d"}])
2026-06-02T08:13:53.240Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]ToDatabase-[***]IVKG7R/[***]4330-[***]8f-[***]f1-[***]8e-[***]66f13"}])
2026-06-02T08:13:53.240Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]rifiedDomain-[***]41ZT7/[***]db40-[***]8f-[***]f1-[***]22-[***]87f2d"}])
2026-06-02T08:13:53.240Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]Confirmation-[***]K9JOY/[***]0730-[***]8f-[***]f1-[***]13-[***]f26dd"}])
2026-06-02T08:13:53.240Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]PreSignup-[***]2E55B/[***]faa0-[***]8f-[***]f1-[***]1f-[***]8dd95"}])
2026-06-02T08:13:53.241Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]odeLambdaLayer-[***]F0PFD/[***]a270-[***]8e-[***]f1-[***]e4-[***]495a5"}])
2026-06-02T08:13:54.755Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:14:10.049Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPool.cognito.listUserPools([{"params":{"MaxResults":60}}])
2026-06-02T08:14:13.023Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.listIdentityProviders([{"UserPoolId":"[***]s-[***]st-[***]SsD9y","MaxResults":60}])
2026-06-02T08:14:13.356Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.describeIdentityProviderPromises([{"UserPoolId":"[***]s-[***]st-[***]SsD9y","ProviderName":"[***]gle"}])
2026-06-02T08:14:13.356Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.describeIdentityProviderPromises([{"UserPoolId":"[***]s-[***]st-[***]SsD9y","ProviderName":"[***]hApple"}])
2026-06-02T08:14:54.813Z|info : amplify env core list 
2026-06-02T08:15:05.295Z|info : amplify gen2-migration core lock {"rollback":true,"yes":false}
2026-06-02T08:15:05.351Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:16:00.287Z|error : User: arn:aws:sts::654734274368:assumed-role/us-east-1_NaBl6bxfe_Full-access/amplifyadmin is not authorized to perform: cloudformation:GetStackPolicy on resource: arn:aws:cloudformation:us-east-1:654734274368:stack/amplify-bctap-gentest-8104e/374349b0-5d8b-11f1-8b90-0affccaa1a59 because no identity-based policy allows the cloudformation:GetStackPolicy action
UnknownFault: User: arn:aws:sts::654734274368:assumed-role/us-east-1_NaBl6bxfe_Full-access/amplifyadmin is not authorized to perform: cloudformation:GetStackPolicy on resource: arn:aws:cloudformation:us-east-1:654734274368:stack/amplify-bctap-gentest-8104e/374349b0-5d8b-11f1-8b90-0affccaa1a59 because no identity-based policy allows the cloudformation:GetStackPolicy action
2026-06-02T08:21:01.141Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:21:01.184Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:21:11.572Z|info : amplify help core  {"help":true,"yes":false}
2026-06-02T08:21:24.605Z|info : amplify logout core  
2026-06-02T08:21:46.775Z|info : amplify logout core  {"appId":"[***]3xuds8","yes":false}
2026-06-02T08:22:06.479Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:22:06.525Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:22:29.234Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig([null])
2026-06-02T08:24:15.009Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig([null])
2026-06-02T08:24:15.013Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2026-06-02T08:24:15.016Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:24:15.047Z|error : Could not initialize platform for 'gentest': A dynamic import callback was not specified.
ProjectInitFault: Could not initialize platform for 'gentest': A dynamic import callback was not specified.
2026-06-02T08:24:22.912Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:24:22.957Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:24:38.100Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig([null])
2026-06-02T08:25:08.878Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:25:08.926Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:26:47.348Z|info : amplify configure core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:26:47.406Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:28:05.221Z|info : amplify env core list 
2026-06-02T08:28:17.143Z|info : amplify gen2-migration core lock {"rollback":true,"yes":false}
2026-06-02T08:28:17.199Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:29:02.414Z|error : User: arn:aws:sts::654734274368:assumed-role/us-east-1_NaBl6bxfe_Full-access/amplifyadmin is not authorized to perform: cloudformation:GetStackPolicy on resource: arn:aws:cloudformation:us-east-1:654734274368:stack/amplify-bctap-gentest-8104e/374349b0-5d8b-11f1-8b90-0affccaa1a59 because no identity-based policy allows the cloudformation:GetStackPolicy action
UnknownFault: User: arn:aws:sts::654734274368:assumed-role/us-east-1_NaBl6bxfe_Full-access/amplifyadmin is not authorized to perform: cloudformation:GetStackPolicy on resource: arn:aws:cloudformation:us-east-1:654734274368:stack/amplify-bctap-gentest-8104e/374349b0-5d8b-11f1-8b90-0affccaa1a59 because no identity-based policy allows the cloudformation:GetStackPolicy action
2026-06-02T08:29:56.029Z|info : amplify logout core  {"appId":"[***]3xuds8","yes":false}
2026-06-02T08:30:19.534Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:30:19.581Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:30:34.925Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig([null])
2026-06-02T08:31:25.504Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig([null])
2026-06-02T08:31:25.508Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2026-06-02T08:31:25.511Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:31:25.531Z|error : Could not initialize platform for 'gentest': A dynamic import callback was not specified.
ProjectInitFault: Could not initialize platform for 'gentest': A dynamic import callback was not specified.
2026-06-02T08:34:06.545Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]est","yes":false}
2026-06-02T08:34:06.592Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:35:16.804Z|info : amplify-provider-awscloudformation.amplify-service-permission-check.checkAmplifyServiceIAMPermission.amplifyClient.listApps([])
2026-06-02T08:35:22.175Z|info : amplify-provider-awscloudformation.attach-backend.getAmplifyApp.amplifyClient.getApp([{"appId":"[***]3xuds8"}])
2026-06-02T08:35:22.604Z|info : amplify-provider-awscloudformation.attach-backend.getBackendEnv.amplifyClient.getBackendEnvironment([{"appId":"[***]3xuds8","environmentName":"[***]est"}])
2026-06-02T08:35:23.139Z|info : amplify-provider-awscloudformation.attach-backend.downloadBackend.s3.getObject([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:37:13.332Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2026-06-02T08:37:13.337Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:37:20.003Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:37:31.661Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.listStackResources([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:37:37.018Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:37:37.345Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]mLambdaStack-[***]WVRU7/[***]fed0-[***]8f-[***]f1-[***]a7-[***]f3ffd"}])
2026-06-02T08:37:37.346Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]ctap-[***]12ZYGF/[***]60a0-[***]8f-[***]f1-[***]4f-[***]a4b0d"}])
2026-06-02T08:37:37.346Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]ToDatabase-[***]IVKG7R/[***]4330-[***]8f-[***]f1-[***]8e-[***]66f13"}])
2026-06-02T08:37:37.346Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]rifiedDomain-[***]41ZT7/[***]db40-[***]8f-[***]f1-[***]22-[***]87f2d"}])
2026-06-02T08:37:37.347Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]Confirmation-[***]K9JOY/[***]0730-[***]8f-[***]f1-[***]13-[***]f26dd"}])
2026-06-02T08:37:37.347Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]PreSignup-[***]2E55B/[***]faa0-[***]8f-[***]f1-[***]1f-[***]8dd95"}])
2026-06-02T08:37:37.347Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]est-[***]4e-[***]odeLambdaLayer-[***]F0PFD/[***]a270-[***]8e-[***]f1-[***]e4-[***]495a5"}])
2026-06-02T08:37:38.781Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:37:53.793Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPool.cognito.listUserPools([{"params":{"MaxResults":60}}])
2026-06-02T08:37:54.926Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.listIdentityProviders([{"UserPoolId":"[***]s-[***]st-[***]SsD9y","MaxResults":60}])
2026-06-02T08:37:55.263Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.describeIdentityProviderPromises([{"UserPoolId":"[***]s-[***]st-[***]SsD9y","ProviderName":"[***]gle"}])
2026-06-02T08:37:55.264Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.describeIdentityProviderPromises([{"UserPoolId":"[***]s-[***]st-[***]SsD9y","ProviderName":"[***]hApple"}])
2026-06-02T08:38:54.557Z|info : amplify gen2-migration core lock {"rollback":true,"yes":false}
2026-06-02T08:38:54.612Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:39:42.703Z|error : User: arn:aws:sts::654734274368:assumed-role/us-east-1_NaBl6bxfe_Full-access/amplifyadmin is not authorized to perform: cloudformation:GetStackPolicy on resource: arn:aws:cloudformation:us-east-1:654734274368:stack/amplify-bctap-gentest-8104e/374349b0-5d8b-11f1-8b90-0affccaa1a59 because no identity-based policy allows the cloudformation:GetStackPolicy action
UnknownFault: User: arn:aws:sts::654734274368:assumed-role/us-east-1_NaBl6bxfe_Full-access/amplifyadmin is not authorized to perform: cloudformation:GetStackPolicy on resource: arn:aws:cloudformation:us-east-1:654734274368:stack/amplify-bctap-gentest-8104e/374349b0-5d8b-11f1-8b90-0affccaa1a59 because no identity-based policy allows the cloudformation:GetStackPolicy action
2026-06-02T08:42:32.924Z|info : amplify gen2-migration core lock {"rollback":true,"yes":false}
2026-06-02T08:42:32.979Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:44:16.095Z|info : amplify env core list 
2026-06-02T08:44:44.788Z|info : amplify pull core  {"appId":"[***]3xuds8","envName":"[***]ev","yes":false}
2026-06-02T08:44:44.836Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:45:38.540Z|info : amplify-provider-awscloudformation.amplify-service-permission-check.checkAmplifyServiceIAMPermission.amplifyClient.listApps([])
2026-06-02T08:45:43.816Z|info : amplify-provider-awscloudformation.attach-backend.getAmplifyApp.amplifyClient.getApp([{"appId":"[***]3xuds8"}])
2026-06-02T08:45:44.369Z|info : amplify-provider-awscloudformation.attach-backend.getBackendEnv.amplifyClient.getBackendEnvironment([{"appId":"[***]3xuds8","environmentName":"[***]ev"}])
2026-06-02T08:45:44.724Z|info : amplify-provider-awscloudformation.attach-backend.downloadBackend.s3.getObject([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]ev-[***]e5-[***]ment"}])
2026-06-02T08:47:16.731Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2026-06-02T08:47:16.736Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]ev-[***]e5-[***]ment"}])
2026-06-02T08:47:25.948Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]ap-[***]ev-[***]e5"}])
2026-06-02T08:47:38.371Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.listStackResources([{"StackName":"[***]ify-[***]ap-[***]ev-[***]e5"}])
2026-06-02T08:47:43.757Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]ify-[***]ap-[***]ev-[***]e5"}])
2026-06-02T08:47:44.083Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]mLambdaStack-[***]BS6VB/[***]15c0-[***]b4-[***]ef-[***]8b-[***]09403"}])
2026-06-02T08:47:44.084Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]ctap-[***]KHCX8D/[***]0ad0-[***]b4-[***]ef-[***]8e-[***]06bdf"}])
2026-06-02T08:47:44.085Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]ToDatabase-[***]ICQOLK/[***]f320-[***]b4-[***]ef-[***]10-[***]0829f"}])
2026-06-02T08:47:44.085Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]rifiedDomain-[***]H9X35R/[***]2fd0-[***]b4-[***]ef-[***]26-[***]5e71b"}])
2026-06-02T08:47:44.087Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]Confirmation-[***]IHR2A/[***]f440-[***]b4-[***]ef-[***]80-[***]39d2b"}])
2026-06-02T08:47:44.088Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]PreSignup-[***]2HZ8T/[***]f870-[***]b4-[***]ef-[***]d1-[***]ba6ed"}])
2026-06-02T08:47:44.088Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:us-[***]st-[***]68:stack/[***]ify-[***]ap-[***]ev-[***]e5-[***]odeLambdaLayer-[***]0RI9H/[***]82f0-[***]b4-[***]ef-[***]de-[***]61c97"}])
2026-06-02T08:47:45.613Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]ap-[***]ev-[***]e5-[***]ment"}])
2026-06-02T08:48:00.323Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPool.cognito.listUserPools([{"params":{"MaxResults":60}}])
2026-06-02T08:48:03.362Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.listIdentityProviders([{"UserPoolId":"[***]s-[***]st-[***]QcDSa","MaxResults":60}])
2026-06-02T08:48:03.729Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.describeIdentityProviderPromises([{"UserPoolId":"[***]s-[***]st-[***]QcDSa","ProviderName":"[***]gle"}])
2026-06-02T08:48:03.729Z|info : amplify-provider-awscloudformation.CognitoUserPoolService.listUserPoolIdentityProviders.cognito.describeIdentityProviderPromises([{"UserPoolId":"[***]s-[***]st-[***]QcDSa","ProviderName":"[***]hApple"}])
2026-06-02T08:48:43.621Z|info : amplify status core  {"yes":false}
2026-06-02T08:48:43.678Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T08:48:53.454Z|info : amplify-provider-awscloudformation.display-helpful-urls.showCognitoSandBoxMessage(["bctap"])
2026-06-02T08:49:04.564Z|info : amplify env core list 
2026-06-02T08:49:18.913Z|info : amplify env core remove gentest 
2026-06-02T08:49:59.399Z|info : amplify-provider-awscloudformation.aws-s3.ifBucketExists.s3.headBucket([{"BucketName":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:50:02.452Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},"gentest"])
2026-06-02T08:50:02.454Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]est-[***]4e-[***]ment"}])
2026-06-02T08:50:09.065Z|info : amplify-provider-awscloudformation.aws-cfn.deleteResourceStack.cfn.describeStacks([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
2026-06-02T08:52:00.038Z|error : amplify-provider-awscloudformation.aws-cfn.deleteResourceStack.cfn.describeStacks([{"StackName":"[***]ify-[***]ap-[***]est-[***]4e"}])
TypeError: Cannot set properties of undefined (setting 'cloudformationEvents')
2026-06-02T08:52:30.965Z|info : amplify env core list 
2026-06-02T08:52:42.306Z|info : amplify gen2-migration core assess 
2026-06-02T08:52:42.362Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T10:51:25.323Z|info : amplify env core list 
2026-06-02T11:54:18.890Z|info : amplify env core list 
2026-06-02T11:54:29.605Z|info : amplify status core  {"yes":false}
2026-06-02T11:54:29.665Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T11:54:42.699Z|info : amplify-provider-awscloudformation.display-helpful-urls.showCognitoSandBoxMessage(["bctap"])
2026-06-02T11:55:27.278Z|info : amplify gen2-migration core lock 
2026-06-02T11:55:27.335Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T11:57:22.278Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},"dev"])
2026-06-02T11:57:22.282Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ap-[***]ev-[***]e5-[***]ment"}])
2026-06-02T11:58:34.003Z|error : Validations failed
PreflightValidationError: Validations failed
2026-06-02T11:59:39.866Z|info : amplify gen2-migration core lock {"skip-validations":true,"yes":false}
2026-06-02T11:59:39.933Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T12:22:09.525Z|info : amplify gen2-migration core refactor {"to":"amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f","yes":false}
2026-06-02T12:22:09.582Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T12:24:41.395Z|error : Validations failed
PreflightValidationError: Validations failed
2026-06-02T12:26:25.112Z|info : amplify gen2-migration core refactor {"to":"amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f","skip-validations":true,"yes":false}
2026-06-02T12:26:25.170Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T12:35:42.349Z|error : Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
MigrationError: Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
2026-06-02T12:43:10.493Z|info : amplify version core  {"version":true,"yes":false}
2026-06-02T12:50:00.988Z|info : amplify gen2-migration core refactor {"to":"amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f","rollback":true,"yes":false}
2026-06-02T12:50:01.044Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T12:50:57.812Z|error : Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
MigrationError: Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
2026-06-02T12:51:25.046Z|info : amplify gen2-migration core refactor {"rollback":true,"yes":false}
2026-06-02T12:51:25.101Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T12:51:53.055Z|error : --to is required
InputValidationError: --to is required
2026-06-02T12:56:07.643Z|info : amplify gen2-migration core refactor {"to":"amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f","rollback":true,"yes":false}
2026-06-02T12:56:07.700Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T12:57:00.765Z|error : Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
MigrationError: Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
2026-06-02T13:09:13.275Z|info : amplify gen2-migration core refactor {"rollback":true,"skip-validations":true,"yes":false}
2026-06-02T13:09:13.331Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T13:09:52.578Z|error : --to is required
InputValidationError: --to is required
2026-06-02T13:10:49.673Z|info : amplify gen2-migration core refactor {"to":"amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f","rollback":true,"skip-validations":true,"yes":false}
2026-06-02T13:10:49.729Z|info : @aws-amplify/amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2026-06-02T13:11:41.009Z|error : Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
MigrationError: Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.
2026-06-02T13:26:51.870Z|info : amplify version core  {"version":true,"yes":false}

Additional information

Help resolve or fix the issue related to both:

  • 🛑 Failed: ValidationError: Parameters: [referencetoamplifyd2bo93s83xuds8gen2devbranch4b58bcdb5ffunctionNestedStackfunctionNestedStackResource8D59BD41Outputsamplifyd2bo93s83xuds8gen2devbranch4b58bcdb5ffunctionaddUserToDatabaselambda2466B7E5Arn] must have values

  • 🛑 Gen2 template 'amplify-d2bo93s83xuds8-gen2dev-branch-4b58bcdb5f-auth179371D7-1LNT94CS0KQ2R' has no UserPoolDomain resource for social auth import.

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions