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

Cannot deploy AmplifyExportedBackend #13871

Open
2 tasks done
redjonzaci opened this issue Jul 30, 2024 · 5 comments
Open
2 tasks done

Cannot deploy AmplifyExportedBackend #13871

redjonzaci opened this issue Jul 30, 2024 · 5 comments
Labels
export Issues related to cdk-exported-backend pending-response Issue is pending response from the issue author pending-triage Issue is pending triage

Comments

@redjonzaci
Copy link
Contributor

How did you install the Amplify CLI?

No response

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

No response

Amplify CLI Version

12.12.1

What operating system are you using?

Windows

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

No manual changes made

Describe the bug

cdk deploy fails with the following error:
Error: Parameter with logical ID 'AppSyncApiName' was not found in the template

Expected behavior

should deploy

Reproduction steps

https://docs.amplify.aws/gen1/react/tools/cli/usage/export-to-cdk/

Project Identifier

No response

Log output

# Put your logs below this line


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.
@redjonzaci redjonzaci added the pending-triage Issue is pending triage label Jul 30, 2024
@redjonzaci
Copy link
Contributor Author

tried the following blog post too and got the same error: https://aws.amazon.com/blogs/mobile/export-amplify-backends-to-cdk-and-use-with-existing-deployment-pipelines/

@redjonzaci
Copy link
Contributor Author

any update?

@ykethan
Copy link
Member

ykethan commented Aug 16, 2024

Hey, could you ensure if the amplify-export-manifest.json contains the AppSyncApiName parameter present with a value.

@ykethan ykethan added pending-response Issue is pending response from the issue author export Issues related to cdk-exported-backend labels Aug 16, 2024
@redjonzaci
Copy link
Contributor Author

it does, and i made no manual changes to what is generated by amplify export

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Aug 16, 2024
@ykethan
Copy link
Member

ykethan commented Aug 21, 2024

Hey @redjonzaci, tried reproducing this error with a sample API but could not reproduce this error. If you could share a zip of exported folder on a discord I can try to reproduce the error message and dive into possible mitigation steps.

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
export Issues related to cdk-exported-backend pending-response Issue is pending response from the issue author pending-triage Issue is pending triage
Projects
None yet
Development

No branches or pull requests

2 participants