Skip to content

"table name should be passed" error thrown during amplify push #1197

Description

@tartachyov

How did you install the Amplify CLI?

No response

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

No response

Amplify CLI Version

10.6.2

What operating system are you using?

macOS

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

No, I did no changes directly to the underlying resources managed by Amplify.

Describe the bug

I did some changes in schema.graphql and in functions and then running amplify push as usual faced error "table name should be passed".

Project Identifier: 66937b402f25cb91155bb86fb029afed

Screenshot 2023-01-25 at 4 57 34 PM

P.S. for some reason amplify CLI detected changes across all resources, while in reality few little changes were applied. Might be because CLI version was recently updated.

Expected behavior

Expected behavior that updated schema successfully deployed.

Reproduction steps

  1. amplify push

Project Identifier

66937b402f25cb91155bb86fb029afed

Log output

Details
# Put your logs below this line

2023-01-25T16:20:13.004Z|info : amplify push core  {"allow-descturctive-changes":true,"force":true,"yes":false}
2023-01-25T16:20:13.060Z|info : amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2023-01-25T16:20:17.172Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2023-01-25T16:20:17.177Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:20:20.140Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]ackend-[***]ing-[***]519"}])
2023-01-25T16:20:20.146Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.listStackResources([{"StackName":"[***]ify-[***]ackend-[***]ing-[***]519"}])
2023-01-25T16:20:20.548Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]ify-[***]ackend-[***]ing-[***]519"}])
2023-01-25T16:20:20.798Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]ifybackend-[***]MOE4US/[***]20b0-[***]2f-[***]ed-[***]9f-[***]9b214"}])
2023-01-25T16:20:20.800Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]backend-[***]UC5HXL/[***]16d0-[***]90-[***]ec-[***]47-[***]d28f0"}])
2023-01-25T16:20:20.801Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]end498abc16-[***]GBECJ/[***]35d0-[***]28-[***]ec-[***]4f-[***]44de8"}])
2023-01-25T16:20:20.802Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]tionsTrigger-[***]D774UZ/[***]81e0-[***]67-[***]ed-[***]fb-[***]3f0bc"}])
2023-01-25T16:20:20.803Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]nAndSendInvitation-[***]OPXLIW/[***]7f00-[***]1d-[***]ed-[***]47-[***]36d1c"}])
2023-01-25T16:20:20.804Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]terInvitation-[***]6YXQMX/[***]9d30-[***]0f-[***]ed-[***]05-[***]23fc4"}])
2023-01-25T16:20:20.805Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]ObjectWithInvitation-[***]W49DMI/[***]d0e0-[***]0f-[***]ed-[***]39-[***]d29b2"}])
2023-01-25T16:20:20.805Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]UserObject-[***]RY9LC/[***]22c0-[***]91-[***]ec-[***]da-[***]f3f66"}])
2023-01-25T16:20:20.806Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]nviteByCoordinationM-[***]YAQ3K/[***]baf0-[***]67-[***]ed-[***]4e-[***]a441a"}])
2023-01-25T16:20:20.807Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]WithoutInvitation-[***]2BWOPY/[***]68b0-[***]1d-[***]ed-[***]b4-[***]bd7f4"}])
2023-01-25T16:20:20.808Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]Activity-[***]BUY4H/[***]fd10-[***]91-[***]ec-[***]19-[***]b65f8"}])
2023-01-25T16:20:20.808Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]ctsByContext-[***]FLULR/[***]4230-[***]91-[***]ec-[***]1e-[***]1de6a"}])
2023-01-25T16:20:20.809Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]nationMember-[***]RX8PY/[***]2380-[***]91-[***]ec-[***]e5-[***]28264"}])
2023-01-25T16:20:20.810Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]UserProfile-[***]R5BR2/[***]9af0-[***]90-[***]ed-[***]72-[***]23fc4"}])
2023-01-25T16:20:20.810Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]reProfessional-[***]ZKWMZ5/[***]9b80-[***]91-[***]ec-[***]9c-[***]39450"}])
2023-01-25T16:20:20.811Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]rticipants-[***]R6WDGS/[***]c3e0-[***]91-[***]ec-[***]cf-[***]0643e"}])
2023-01-25T16:20:20.812Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]tPatient-[***]N95IJ/[***]9520-[***]91-[***]ec-[***]22-[***]bd4fc"}])
2023-01-25T16:20:20.812Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]entMetadata-[***]848WNM/[***]5370-[***]10-[***]ed-[***]c9-[***]e57fc"}])
2023-01-25T16:20:20.813Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]nsForCenter-[***]UXL5OW/[***]64c0-[***]0f-[***]ed-[***]d6-[***]354d8"}])
2023-01-25T16:20:20.814Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]rescriber-[***]X9LOKD/[***]81a0-[***]91-[***]ec-[***]83-[***]54db8"}])
2023-01-25T16:20:20.814Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]esignedUrl-[***]KQXIE/[***]3380-[***]40-[***]ed-[***]a1-[***]4d974"}])
2023-01-25T16:20:20.815Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]tRequest-[***]T9FJS/[***]3a80-[***]3b-[***]ed-[***]33-[***]a845e"}])
2023-01-25T16:20:20.816Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]UserSelf-[***]N2A02/[***]bcf0-[***]91-[***]ec-[***]48-[***]7761c"}])
2023-01-25T16:20:20.816Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]thorizerb7cfdc52-[***]E0CLT4/[***]b3b0-[***]1d-[***]ed-[***]12-[***]b5b30"}])
2023-01-25T16:20:20.817Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]ctivities-[***]1WOC4/[***]8e30-[***]91-[***]ec-[***]f9-[***]b6226"}])
2023-01-25T16:20:20.817Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]nationMembers-[***]PC0MS/[***]7510-[***]91-[***]ec-[***]9e-[***]9c1c2"}])
2023-01-25T16:20:20.818Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]tivityOffers-[***]587URA/[***]5dd0-[***]ae-[***]ec-[***]e2-[***]106d8"}])
2023-01-25T16:20:20.819Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]eProfessionals-[***]6NVNH/[***]d4b0-[***]91-[***]ec-[***]76-[***]1d478"}])
2023-01-25T16:20:20.819Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]Patients-[***]WBVJA/[***]c3d0-[***]91-[***]ec-[***]93-[***]7e0ec"}])
2023-01-25T16:20:20.820Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]rescribers-[***]RX1AT/[***]8e30-[***]91-[***]ec-[***]45-[***]5a786"}])
2023-01-25T16:20:20.820Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]Requests-[***]0U7JTJ/[***]5e00-[***]3b-[***]ed-[***]52-[***]83c98"}])
2023-01-25T16:20:20.821Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]erContexts-[***]3NTJPW/[***]2f50-[***]91-[***]ec-[***]d4-[***]18da8"}])
2023-01-25T16:20:20.822Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]ionForActivity-[***]7WCU0R/[***]4ca0-[***]59-[***]ed-[***]85-[***]9d25a"}])
2023-01-25T16:20:20.822Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]onForNewMessage-[***]TV5V37/[***]df50-[***]b4-[***]ed-[***]2b-[***]ad20e"}])
2023-01-25T16:20:20.823Z|info : amplify-provider-awscloudformation.aws-cfn.describeStack.cfn.describeStacks([{"StackName":"[***]rmation:eu-[***]ral-[***]94:stack/[***]ify-[***]ackend-[***]ing-[***]519-[***]achments-[***]PZRC4/[***]a100-[***]40-[***]ed-[***]c4-[***]8e2ae"}])
2023-01-25T16:20:21.206Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:20:35.675Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Waiting for previous deployment to finish."}])
2023-01-25T16:20:35.923Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Waiting for previous deployment to finish."}])
2023-01-25T16:20:35.932Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.putObject([{"Key":"[***]ment-[***]json","Body":"{\n  \"version\": \"1\",\n  \"startedAt\": \"2023-01-25T15:45:38.652Z\",\n  \"status\": \"ROLLING_BACK\",\n  \"currentStepIndex\": 0,\n  \"steps\": [\n    {\n      \"status\": \"WAITING_FOR_ROLLBACK\",\n      \"previousMetaKey\": \"[***]ify-[***]ync-[***]es/[***]1567406256bd46ce/[***]tes/[***]ial-[***]ck/[***]ment-[***]json\"\n    },\n    {\n      \"status\": \"WAITING_FOR_DEPLOYMENT\"\n    }\n  ]\n}","Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:20:35.937Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Rolling back (0 of 1)"}])
2023-01-25T16:20:36.185Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.putObject([{"Key":"[***]ment-[***]json","Body":"{\n  \"version\": \"1\",\n  \"startedAt\": \"2023-01-25T15:45:38.652Z\",\n  \"status\": \"ROLLING_BACK\",\n  \"currentStepIndex\": 0,\n  \"steps\": [\n    {\n      \"status\": \"ROLLING_BACK\",\n      \"previousMetaKey\": \"[***]ify-[***]ync-[***]es/[***]1567406256bd46ce/[***]tes/[***]ial-[***]ck/[***]ment-[***]json\"\n    },\n    {\n      \"status\": \"WAITING_FOR_DEPLOYMENT\"\n    }\n  ]\n}","Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:20:36.432Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Rolling back (1 of 1)"}])
2023-01-25T16:20:36.437Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Rolling back (1 of 1)"}])
2023-01-25T16:20:37.812Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Rolling back (1 of 1)"}])
2023-01-25T16:25:40.510Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Waiting for DynamoDB indices to be ready."}])
2023-01-25T16:25:40.519Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.putObject([{"Key":"[***]ment-[***]json","Body":"{\n  \"version\": \"1\",\n  \"startedAt\": \"2023-01-25T15:45:38.652Z\",\n  \"status\": \"ROLLED_BACK\",\n  \"currentStepIndex\": 0,\n  \"steps\": [\n    {\n      \"status\": \"ROLLED_BACK\"\n    },\n    {\n      \"status\": \"WAITING_FOR_DEPLOYMENT\"\n    }\n  ],\n  \"finishedAt\": \"2023-01-25T16:25:40.518Z\"\n}","Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:25:40.844Z|info : amplify-provider-awscloudformation.deployment-manager.rollback([{"spinner":"Rolling back (2 of 1)"}])
2023-01-25T16:25:40.851Z|info : amplify-provider-awscloudformation.aws-s3.deleteDirectory.s3.getAllObjectVersions([{"BucketName":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:25:40.852Z|info : amplify-provider-awscloudformation.aws-s3.getAllObjectKey.s3.listObjectVersions([{"Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment","Prefix":"amplify-appsync-files/58e1746a417ff626dd1fc4771567406256bd46ce/states/initial-stack/deployment-meta.json"}])
2023-01-25T16:25:41.107Z|info : amplify-provider-awscloudformation.aws-s3.deleteAllObjects.s3.deleteObjects (0 of 1)([{"Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
...
2023-01-25T16:26:45.423Z|info : amplify-provider-awscloudformation.deployment-manager.deploy([{"spinner":"Deploying (1 of 2)"}])
2023-01-25T16:26:45.428Z|info : amplify-provider-awscloudformation.aws-s3.uploadFile.s3.putObject([{"Key":"[***]ment-[***]json","Body":"{\n  \"version\": \"1\",\n  \"startedAt\": \"2023-01-25T16:26:17.043Z\",\n  \"status\": \"DEPLOYING\",\n  \"currentStepIndex\": 0,\n  \"steps\": [\n    {\n      \"status\": \"DEPLOYING\",\n      \"previousMetaKey\": \"[***]ify-[***]ync-[***]es/[***]5e600f858f603ca6/[***]tes/[***]ial-[***]ck/[***]ment-[***]json\"\n    },\n    {\n      \"status\": \"WAITING_FOR_DEPLOYMENT\"\n    }\n  ]\n}","Bucket":"[***]ify-[***]ackend-[***]ing-[***]519-[***]ment"}])
2023-01-25T16:26:45.431Z|info : amplify-provider-awscloudformation.deployment-manager.deploy([{"spinner":"Deploying (1 of 2)"}])
2023-01-25T16:26:47.221Z|info : amplify-provider-awscloudformation.deployment-manager.deploy([{"spinner":"Deploying (1 of 2)"}])
2023-01-25T16:31:20.107Z|info : amplify-provider-awscloudformation.deployment-manager.deploy([{"spinner":"Waiting for DynamoDB indices to be ready."}])
2023-01-25T16:31:23.170Z|error : table name should be passed
UnknownNodeJSFault: table name should be passed

Additional information

No response

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions